You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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
Thomas Broyer
unread,
Oct 17, 2012, 11:32:07 AM10/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Either use CSS (addColumnStyleName/removeColumnStyleName) or simply remove/add the columns themselves (removeColumn, addColumn, insertColumn)
Magnus
unread,
Oct 18, 2012, 7:56:48 AM10/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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
Jens
unread,
Oct 18, 2012, 8:11:21 AM10/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
ok, but if the user should be able to do this one would have to implement such a functionality?
Yes.
James
unread,
Oct 18, 2012, 9:48:03 AM10/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
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).