Our blazing fast Grid component built with pure JavaScript
Hi
I have been searching for an example to implement sorting in a grid.
My data has four attributes, dates to be precise, which I need to sort accordingly. Is it possible to define a ranking, such as:
- attr1 is not null, display on top
- attr2 is not null, display after all attr1 objects
- attr3 is not null, display after all attr2 objects
- attr4 is not null, display after all attr3 objects
- all other objects with all four attributes null
This is possible, and a custom sorter is demonstrated in the ”sorting” demo. Did you try it?
Oh... I am am working with the Scheduler ... I did not think of looking into the Grid-Demos ... Thanks for the hint. I will look into that
Edit:
How do null-values influence sorting?
I got it working:
Null-Values where weighed less than the date, so they always where in the beginning.
Instead I filled them with dummy-values and now it is working.