I'm encountering what appears to be a SGWT timing issue: Whether my record selection gets applied or not appears to depend on the size of the result set.
Given the following code...
...what I'm seeing is that if the Grouping process takes too long, the record selection is not shown.
When the result set is under ~50 records, the record selection works. When it's over ~50 records, the redraw of the ListGrid to show the Grouping takes longer, and the record does not appear selected at the conclusion.
I tried the GroupByCompleteHandler too. That always works for user-initiated Grouping via header context menu. But it does not work for the initial page load.
Please advise, thanks.
---------------
SmartClient Version: v9.0p_2013-12-01/PowerEdition Deployment (built 2013-12-01)
IE8
Given the following code...
Code:
ListGrid listGrid = new ListGrid() {
...
addDataArrivedHandler(new DataArrivedHandler() {
@Override
public void onDataArrived(DataArrivedEvent event) {
selectSingleRecord(3); // simple demo
}
});
groupBy("SUBGROUP", "APPROVER_NAME");
setSortField("STARTDATETIME");
...
When the result set is under ~50 records, the record selection works. When it's over ~50 records, the redraw of the ListGrid to show the Grouping takes longer, and the record does not appear selected at the conclusion.
I tried the GroupByCompleteHandler too. That always works for user-initiated Grouping via header context menu. But it does not work for the initial page load.
Please advise, thanks.
---------------
SmartClient Version: v9.0p_2013-12-01/PowerEdition Deployment (built 2013-12-01)
IE8