Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Two questions regarding collapsing columns in tables

Anders Peterson
10 years ago Apr 02, 2012 1:30pm

1) Is calling getVisibleColumns() and then checking isColumnCollapsed(propertyId) for each returned propertyId the only way to get which columns are actually "visible" by the user?

2) When I use a row header the collapse columns pop-up menu gets an extra empty item. If I select it, the table is redrawn (columns seem to shift) but in the end nothing has happened. I tried a few different variants to do this, but I always get same the result. How do I get rid of that extra menu item? The reason to use row headers is to give me a column that cannot be collapsed.

/Anders

Mauricio QG
9 years ago Nov 23, 2012 7:11pm