Author Topic: Cancel sorting for the third click of a column (single column mode)  (Read 2355 times)

lsl

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 67
    • View Profile
In multi-column sorting mode, Sorting will be cancelled when users click the third time for the same column head

However, it is not available in Single-Column Sorting Mode, which is very important for our program.
Since it is quite confusing that users can cancel the sort for the third click, but can't for some cases

is there any way to add back the exactly third click cancel in single sort mode?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Cancel sorting for the third click of a column (single column mode)
« Reply #1 on: March 14, 2015, 01:09:54 am »
Please use beforeSort event to cancel sorting ( sort in the original order ) the 3rd time. You have to keep a hidden column which would determine the original sort order.
« Last Edit: March 16, 2015, 08:40:34 pm by paramquery »