hideColumn( columnIndex )

API Overview

The grid.hideColumn() grid method hides a column at runtime.

This method is available in Profound UI Version 6 and later

Contents

Important!

In order to use this grid method, the Hide Column Option needs to be set to true in the designer.

Parameters

  • columnIndex
    - index to identify the column, where 0 is the first* column, 1 is the second column, etc.
    *Column 0 refers to the first column as established during design-time (in Visual Designer). If movable columns is true, then the user could change the column order. For example, hideColumn(0) hides what was originally the first column even if the user has moved that column.

Return Value

true or false, if successful or not



Examples

Title of Example Code
// hide the first column
getObj("Grid1").grid.hideColumn(0);