w2grid.toggleColumn

Toggles column between hidden and shown states.
toggleColumn(field, [field], ...)
field string, field name of the column
Returns integer.

Description

This method will show the column if it was previously hidden and hide the column if it was previously shown. Returns the number of toggled columns.
If you have grid defined in the following way: You can toggle columns by:

User Comments

comments powered by Disqus