Hide column in table programmatically

Hi

How Can I hide column in table component programmatically ?

Hi,

Take a look at Table.setColumnCollapsed() method. It will hide column to the drop down menu. If you want to make it inaccessible for users at all - remove column from Table.

Ok. How can I get list all table columns from browse controller ? I mean about columns are setting in xml file e.g section groupTable. I’d like list ids this this columns.

See Table interface API: table.getColumns() returns list of Table.Column. Each column has Id

I know, but for this I have to inject table object to browse controller. I’d like do it
based on xml file.

Probably, collapsed attribute of <column> element can help you.

A post was split to a new topic: Different column visible based on the type of the data