SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

Composite sorting on Dataview

Open thimothy26 opened this issue 8 years ago • 3 comments

Hi , I want to do a composite sorting on specified columns using Slick.Dataview. Could you please guide me

thimothy26 avatar Aug 11 '17 10:08 thimothy26

You should ask usage questions on StackOverflow. See: http://6pac.github.io/SlickGrid/examples/example-multi-column-sort.html (note that this repo is unmaintained. See https://github.com/6pac/SlickGrid)

6pac avatar Aug 11 '17 11:08 6pac

Thanks,

I am aware of the above solution ,my questions is ,how to have composit sorting in dataview .

Code dataView.sort(comparer, args.sortAsc);

thimothy26 avatar Aug 18 '17 12:08 thimothy26

You write the comparer to sort on multiple columns. Please ask this question on StackOverflow.

6pac avatar Aug 18 '17 13:08 6pac