Hi,
Is there a way to do custom sorting? I have data that is an object or objects in an array. Can I somehow specify what string (inside the object) the sorter should do the sorting on?
I've tried to look trough the docs and even tried to configure an example but couldn't get it to work.
Thank
Support Forum
Hi,
You should be able to achieve it using a custom sorter fn, can be configured on the column:
https://www.bryntum.com/docs/grid/#Grid ... g-sortable
Or give a fn to Store#sort:
https://www.bryntum.com/docs/grid/#Comm ... ction-sort
You should be able to achieve it using a custom sorter fn, can be configured on the column:
https://www.bryntum.com/docs/grid/#Grid ... g-sortable
Or give a fn to Store#sort:
https://www.bryntum.com/docs/grid/#Comm ... ction-sort
Best regards,
Johan Isaksson
Johan Isaksson