Author Topic: some minor issues  (Read 449 times)

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
some minor issues
« 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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: some minor issues
« Reply #1 on: June 21, 2023, 06:28:45 pm »
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.

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: some minor issues
« Reply #2 on: June 21, 2023, 09:14:47 pm »
1. in sortModel
Code: [Select]
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

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: some minor issues
« Reply #3 on: June 22, 2023, 10:06:06 pm »
1. Ok, got it. That would be looked into and fixed in next version.

3. There is no attachment in your post.

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: some minor issues
« Reply #4 on: June 23, 2023, 02:46:19 pm »
sorry find the image  here

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: some minor issues
« Reply #5 on: June 26, 2023, 07:47:51 am »
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.

Code: [Select]
    { title: "Order Date", minWidth: "190", dataIndx: "OrderDate", dataType: "date",
        filter: { crules: [{ condition: "between" }], style: 'text-align:left;' },
  halign: 'center'
    },

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: some minor issues
« Reply #6 on: June 28, 2023, 07:05:54 pm »
thank you
its working very fine