QDataTable: Customizing sort buttons to do server calls
I was wondering if someone was trying to achieve something similar:
We have a project where we’d like to use QDataTable to display search results that could cover up to 50.000 items. Hence we will not load the entire results data at once and use pagination. We would also like to use the integrated sort action for columns, but would like to do the server to do the sorting and return a fraction of the queried results to be displayed via QDataTable. Right now it seems though that QDataTable expects the whole data to work with it.
Is it possible to customize the sort buttons in QDataTable to call a method for instance? Or will the revamp of QDataTable in 0.15 allow for such a customization?
Thank you in advance!
Okay, seems this question was posed here already: http://forum.quasar-framework.org/topic/174/load-data-from-server-into-data-table
There doesn’t seem to be a solution, although this was 9 months ago…
Will be available in v0.15.
Thank you, this is great news! Looking forward to it