The problem is, I need to sort my datatable globally and want to retrieve the actual sortOrder and the sortBy to adapt my query in the backend, when the user clicks a sortable column:
select... from.. order by [sortBy] [sortOrder]
How can I do that?
Unfortunately, the tableState of extendedDT does not store the actual sorted column and the sortBy-Attribute.
please checkout current richfaces demo code and check new modifiable model sample. (placed among the dataTable samples.) the same could be performed with extendedDataModel.