Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Set the initial sort icon on an oj-table header

Jonathan CorwinJul 9 2021

Oracle Jet 10.1/Redwood.
I have a ojtable against a collectiondataprovider, which holds a virtual collection.
On the collection to give it a default sort, I am setting the comparator and sortdirection, and this is loading the data into the table in the correct sequence fine.
The issue is however that the sort direction arrow on the table column header isn't reflecting this initial sort. Is there a way I can tell the table what the initial state should be of the sort icons?

Comments
Post Details
Added on Jul 9 2021
3 comments
665 views