-
1. Re: Row ID in datatable
mp911de Aug 24, 2011 1:22 AM (in response to andrewdambrosio)Hi Andrew,
i suppose that this is not possible. It wouldn't also be a good idea to sort a table outside the JSF context, because JSF don't knows anything about resorting. The tables provide also a feature, when you have some links or buttons within the table you can get the clicked row data (the "var" -Object behind the row) via JSF (getRowData on the Table-Component). When you do a custom sorting, you will get something different from that method.
Best regards,
Mark
-
2. Re: Row ID in datatable
andrewdambrosio Aug 24, 2011 1:27 AM (in response to mp911de)Thanks. I managed to assign an ID to the rows using Javascript which allowed this plugin to work properly
http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
If anyone else has used this plugin with JSF, let me know. I have no idea how to access the updated list once you move rows around.