Table getVisibleColumns() contains all columns

Hi,

i have a table with “setColumnCollapsingAllowed(true)”. When i remove columns from UI and call “getVisibleColumns()” im still getting all columns and not those who actually are visible in table header. I´m a bit confused :blink:

Hi,

Like you noticed, getVisibleColumns() doesn’t take into account whether a column is collapsed or not. You can use the isColumnCollapsed(Object propertyId) method to find out if a column is collapsed.

-Henri

Thank you Henri.