mmike last edited by
I use <ons-row><ons-col> for display table of data. I need to add sorting feature to this table.
For HTML table, I use jquery table sorter(http://tablesorter.com/docs/) which works on <table><tr><thead>…<tr><tr>…
Any thoughts ? any query plugin etc?
Thanks for your help!
jamal last edited by
@mmike, I tried to play with <ons-row> and <ons-col>, unfortunately there is no corresponding <ons-grid> which would have header columns and and a rows collection that can be sorted.
Probably better to use a table instead without any plugins:
P.S. it would be nice to have <ons-grid> that acts like a grid.
humblecoder last edited by
Not sure what mechanism you use to acquire and display the data, but I use Vue and LoDash to sort the data source rather than attempting to facilitate it in UI. Does that make sense?