ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: hirehop on June 20, 2023, 07:00:02 pm
-
hello
some minor issues
1) sort-model : when select whole-cell in sort model for sort column there is filter row also work same problem is that when click on filter its sort the column
2) is it possible to make particular column sort ASC or Desc by default
3) halign also same with filter row if hlign set center filter textbox or dropdown also set in center
4) how can we change language of grid like in summary its display like sum: £45.00 or count: 5 so i wanted to change language of the word which is display in the grid
-
2. use sortModel.sorter to set initial sorter e.g. ShipCountry column in https://paramquery.com/pro/demos/sorting
3. I don't see this issue in the example: https://paramquery.com/pro/demos87/filter_header_local if I add halign: 'right' to ShipCountry column.
4. Please check this option: https://paramquery.com/pro/api#option-summaryTitle
1. Please elaborate.
-
1. in sortModel
sortModel: {
sorter:[ { dataIndx:"BARCODE", dir:"up"} ],
space: true,
multiKey: null,
wholeCell: true
},
wholCell option make header row and filter row works same because some column not having filter textbox or dropdown that also work as sort.
2. same code as above but its not works yet
3. please check this attach image. In shipcountry coulmn selected country is in center as well order date search cursor also blink in the center.
point 2 and 4 i will check again tomorrow.
Thanks
-
1. Ok, got it. That would be looked into and fixed in next version.
3. There is no attachment in your post.
-
sorry find the image here
-
3. Thanks for the attachment. Some users may find it desirable to have the same alignment in header title cells and header filter cells. Anyway there is an option to override the default behavior by adding inline style to column.filter.style.
{ title: "Order Date", minWidth: "190", dataIndx: "OrderDate", dataType: "date",
filter: { crules: [{ condition: "between" }], style: 'text-align:left;' },
halign: 'center'
},
-
thank you
its working very fine