>
> table.setVisibleRangeAndClear() will ensure that the loading indicator 
> appears until setRowCount(0, true) or setRowData() are called.
>

I am using a CellList and it seems like that 
AbstractHasData.setVisibleRangeAndClear() does not show the loading 
indicator if the CellList is empty. Its basically like:

1.) CellList created => shows loading indicator
2.) Server returns 0 records => ListDataProvider is empty => shows empty 
indicator
3.) Calling list.setVisibleRangeAndClear(list.getVisibleRange(), true) to 
show loading indicator because I want to reload the list data => no loading 
indicator, still shows empty indicator while data is loading.
4.) CellList/DataProvider now contains some data and when redoing 3.) the 
loading indicator appears as expected.

Anyone knows if this is intentional behavior? To me it seems like a bug. Is 
there any other way to show the loading indicator even if the list is empty?

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/UukgWkmauhYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to