I added a sorter to each row of my table. It shows up fine, but it doesn't do anything yet. Where would I put the event or function that actually moves the row?
Thanks -
-Brian
Thanks -
-Brian
I should add: I am working a a nestedsets table, so the move action will need to call a custom PHP function so that I can use the Joomla JTableNested class methods.
Thanks -
-Brian
Thanks -
-Brian
Hi Brian,
The sorter is for the table header to sort a column, and you will need to update the "read data" function to do the sorting too, but it is not for elements drag sorting, you will need to use your own JS code if you want to sort a list as the feature is not included.
Best regards,
Max
The sorter is for the table header to sort a column, and you will need to update the "read data" function to do the sorting too, but it is not for elements drag sorting, you will need to use your own JS code if you want to sort a list as the feature is not included.
Best regards,
Max
Got it. Thanks!
-Brian
-Brian
This topic is locked and no more replies can be posted.