Tagged: hide table columns, table
I want to create a smart table in wich, pressing a button or defining a variable i can hide or show some columns.
I saw the column menu example as well as the change columns example but I didn’t understand the trick.
Could You provide an example ?
Each column has a ‘visible’ property. If you want to hide it, you can use code like this: table.columns.visible = false;
Smart UI Team
it works also if I wrap an existing standard html table ?
In order to hide a column, the smart-table instance should be used i.e after smart-table is created either by creating a new table or wrapping an existing table, you can use the smart-table API.