ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: lsl on March 12, 2015, 03:23:38 pm

Title: Cancel sorting for the third click of a column (single column mode)
Post by: lsl on March 12, 2015, 03:23:38 pm
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?
Title: Re: Cancel sorting for the third click of a column (single column mode)
Post by: paramvir 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.