w2grid.removeColumn

Removes a column or columns from the grid.
removeColumn(field, [field], ...)
field string, field name of the column
Returns integer.

Description

Removes a column or columns from the .columns array. The column is identified by the .field property, which is a required property for each column object. The method returns the number of columns it removes.
If you have following grid: You can remove columns by:

User Comments

comments powered by Disqus