I found that my CellTable sends unnecessary onRangeChange events in a specific situation:
- The data source changes, e. g. the user selects another chat room.
- The new row count is less than the old one.
Then, when calling the data provider's updateRowCount method the GWT code recognizes that the current range exceeds the row count and corrects the range somhow, triggering an onRangeChange event.
Independend of this, the application also as an idea which records to show and also sets the new range.
In the end, the page is loaded twice. Can we avoid this?
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/-/ZlmcxRecqhEJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Post a Comment