You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not clear from the documentation how to use a callback function for the sort parameter.
Basically, I want the panel on the left to be sorted alphabetically while the one on the right to have keepRenderingSort. The callback function attached to sort gets a single parameter, the option itself (it would be great to also get the panel where it comes from) but returning true or false seem to have the same effect of not making the panels work as if they would have keepRenderingSort set to true.
So, in short, I want to prevent the sorting but only for the right panel. Is this possible?
Thanks!
The text was updated successfully, but these errors were encountered:
… for left and right lists
* Instead of a single keepRenderingSort option there are now two new options: keepRenderingSortLeft and keepRenderingSortRight. They do exactly what the old option did, but independently for left and right.
* In addition, if keepRenderingSort* is set to true, there is an option to either skip initial sorting or not. The options are skipInitSortLeft and skipInitSortRight. Example, if keepRenderingSortLeft is true and skipInitSortLeft is false, then the custom sorting function will be applied to options before their rendering position is memorized.
Closescrlcu#129
It's not clear from the documentation how to use a callback function for the
sort
parameter.Basically, I want the panel on the left to be sorted alphabetically while the one on the right to have
keepRenderingSort
. The callback function attached tosort
gets a single parameter, theoption
itself (it would be great to also get the panel where it comes from) but returningtrue
orfalse
seem to have the same effect of not making the panels work as if they would havekeepRenderingSort
set totrue
.So, in short, I want to prevent the sorting but only for the right panel. Is this possible?
Thanks!
The text was updated successfully, but these errors were encountered: