Problem: CellList doesn't refresh in a special scenario GWT Version: 2.5.0 Client(s): IE version 9, Google Chrome Version 27.0.x
Description: The below code snippet works fine in all but one special scenario: List<Notification> listOfNotification = notificationListDataProvider.getList(); listOfNotification.remove(notification); notificationListDataProvider.setList(listOfNotification); notificationListDataProvider.flush(); notificationListDataProvider.refresh(); where notificationListDataProvider is the ListDataProvider associated with notificationCellList (A CellList object) displaying a list of Notification objects The above code is executed on clicking a Delete button. The list is refreshed fine in all cases except the one below: 1. There are only two items in the list: Item1 Item2 2. User selects first item (Item1) and deletes it 3. Following is displayed on the screen: Item2 Item2 Here, only the first instance of Item2 is selectable. I guess the second instance is just retained from step # 1 above and not being refreshed/removed from screen. Surprisingly, this is the only scenario that fails all other are working fine. I also tried notificationCellList.setRowData(), notificationCellList.setRowCount(), notificationCellList.redraw() after removing item from the list and before calling flush() and refresh() on listdataprovider. None of these have worked. Any help in resolving this issue will be highly appreciated. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
