I can use removeColumnStyleName to hide one column and addColumnStyleName to restore that column. I run into one issue. Once one column is hiding, each row of the result table has a large height (almost double).
James On Wednesday, October 17, 2012 11:32:07 AM UTC-4, Thomas Broyer wrote: > > > > On Wednesday, October 17, 2012 1:35:56 PM UTC+2, Magnus wrote: >> >> Hi, >> >> I would like to let my users hide some columns of a CellTable, but they >> should also be able to show them again. >> >> Is there a built-in functionality for this? Is there example code >> somewhere? >> > > Either use CSS (addColumnStyleName/removeColumnStyleName) or simply > remove/add the columns themselves (removeColumn, addColumn, insertColumn) > -- 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/-/oEnXNSqLmTQJ. 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.