GigaGrid
GigaGrid copied to clipboard
Alternative sort algorithm
How can I use a special sort function (not lexicographical) on one column, so that when the user clicks on the header of that column, it gets sorted accordingly to that function? I tried to use customSortFn but it does not seem to be used when clicking on the header.
Thanks for bring up this issue. To confirm: customSortFn does work when applying sorts initially? Just not when sorting via the header ?
If so that is definitely a bug that need to be patched
Also, the GitHub version of GigaGrid is fairly out of date, development on a private branch have made numerous enhancements that I'll try to sync over sometime in the future.
Ah, it is ok. I created a column called sort containing a string build to correctly sort the lines alphabetically and it went ok. The only problem is that the column is visible.