Hi
How Can I hide column in table component 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.