Now the easyUI table is added to a p, but before the table is initialized, the corresponding data does not exist yet. The data will not be loaded until the page is loaded, so the sortName set in this .datagrid(): 'fieldname' attribute does not work
So, after the page is loaded and the table data is also loaded, can the table be sorted and displayed according to a certain column in js? The result is that after the page is loaded, the table is sorted according to a certain column
Please help me! Thanks.....
Shouldn’t sorting be done in the background? Why do we need the front end to sort?