Author Topic: Sorting Indicator Question  (Read 1590 times)

arky

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 14
    • View Profile
Sorting Indicator Question
« on: September 14, 2017, 02:49:08 am »
v4.0.1

Just learning this version.

When local sorting it appears that the sort goes through three states.

No Indicator: Sort in natural delivered DB order.
Down Indicator: Sort decending
Up Indicator: Sort ascending

and that each time you click on the header it cycles through all three states round and round.

This surprised me as I'm used to only two states, up and down. This confused one of my customers. Is there away to limit the toggle to two states, up and down?


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Sorting Indicator Question
« Reply #1 on: September 14, 2017, 09:28:22 am »
Please use sortModel.cancel = false

https://paramquery.com/pro/api#option-sortModel