Re: CellTable - hide/show individual columns?
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.
Re: CellTable - hide/show individual columns?
> > > ok, but if the user should be able to do this one would have to implement > such a functionality? > Yes. -- 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/-/N2fb3vIsIHIJ. 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.
Re: CellTable - hide/show individual columns?
Hi Thomas, ok, but if the user should be able to do this one would have to implement such a functionality? For example, there could be a small dropdown list somewhere at the table header which allows to mark all columns that schould be shown... Magnus -- 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/-/iVcvHC1pcf4J. 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.
Re: CellTable - hide/show individual columns?
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/-/fog7Z0QmNPkJ. 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.
CellTable - hide/show individual columns?
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? Thanks Magnus -- 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/-/hbRDvBvb_A4J. 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.