We have several pages as tabs where datatable is used in most of the pages. When we sort on a particular coulmn and exit the page and re enter this page the arrow appears (up/down depending on how we exit the page). But the data is not sorted in the direction the开发者_如何转开发 arrow shows. I have set preserveSort
and preserveDataModel
to false
. The arrow
is set to true
in the column's t:commandSortHeader
tag in all the pages. Is this a bug or am I missing any setting? I have tried to set forceId
to false
in t:commandSortHeader
but of no use.
i have resolved this now.i reset the sortcolumn and sort ascending values on every entry to page.I thought preseveDataModel already does that but it doesnt.good to knwo sorting info is still kept if u set preservesort and preserveDatamodel to false.
精彩评论