Hi, Would like to know if there is a direct way to delete ALL the rows of the new DataGrid Widget -part of release GWT 2.4, or is the only way to do it is by maintaining a handle to some Collection you may have previously loaded into the Table, and then doing something like this to delete the rows:
table = new DataGrid<Contact>(); dataProvider= new ListDataProvider<Contact>(); dataProvider.addDataDisplay(table); ... ... (And when you want to remove ALL the rows of the DataGrid, do the following?) List<Contact> list= dataProvider.getList(); list.removeAll(CONTACTS); Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.