doonfrs / pluto_grid_plus

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
27 stars 28 forks source link

[Feature] Sort by formated value #46

Open baryalenn opened 5 months ago

baryalenn commented 5 months ago

Would it be possible to sort the table by the formatted value ?

Sort by "nomGroupePresence"

PlutoColumn( title: 'Groupe', field: 'GroupPresence', width: 120, type: PlutoColumnType.select(toJsonList(groupsPresence)), applyFormatterInEditing: true, formatter: (value) => value == null || value == "" ? "" : GroupPresenceModel.fromJson(value).nameGroupPresence! ),