I am using the LazyQueryContainer class for my table.
When initializing the code, I want to restore previously saved sort column and order, however:
- If I set those values before calling table.setContainerDataSource(lzContainer), the call is ignored.
- If I make those calls after calling table.setContainerDataSource(lzContainer), there are three data fetches instead of just one:
- One fetch upon setting the container datasource.
- One fetch upon calling setSortContainerPropertyId
- One fetch upon calling setSortAscending.
Obviously this affects my application performance.
Idelally I would like to complete configuring the table column sorting parameters before it starts fetching data.
Thanks