JavaScript
{grid.object}showGridColumn Method
Syntax
{grid.Object}.showGridColumn(columnName, showHide)
Arguments
- columnNamestring
The column name.
- showHideboolean
false = hide column, true = show column.
Description
Shows or hides a Grid column.
Discussion
If 'showHide' is true, the column is shown (if it was hidden by a previous command that called this method to hide the column).
Example
If 'showHide' is false, the column is hidden. 'columnName' is the name of the column, and it must be UPPERCASE. Spaces in the 'columnName' must be replaced with underscores. For example, hide the 'LASTNAME' column.
{grid.object}.showGridColumn('LASTNAME',false);
See Also