Author Topic: sortModel issue  (Read 379 times)

[email protected]

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 7
    • View Profile
sortModel issue
« on: January 26, 2023, 07:59:21 pm »
Dear Paramvir,

I am working with the pro7 and want to upgrade the pro8, During my test, the sortModel need your help.

1. I need the sort-icon is showing all the times, how to set it on the sortModel? the current setting is when I click the header title, it shows up and down then disappear, I hope the up and down icon always there and only the color changed for the direction.

2. I checked the wholeCell parameter and the default value is undefined, how to use this parameter? can you give me an example? I searched the forum, but did not find any demo.

3. for my upgrading the new pro version, I want to know if  there is discount for the old customer

with best regards,

Frank

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: sortModel issue
« Reply #1 on: January 27, 2023, 10:58:30 am »
1. Set sortModel.cancel to false.

2. Set sortModel.wholeCell: true to true and selectionModel.column to false

Code: [Select]
sortModel: {               
   ...
   cancel: false,
   wholeCell: true
},
selectionModel: {
  column: false,
  ...
},

3. Renewal link with possible discount has been sent to you.