Grid Column - Visible Property

Show or hide the column

Member of Grid Column (PRIM_GDCL)

Data Type - Boolean

Details

Visible will return True if the column is visible.

Example

In this example, the columns in a list have been assigned names that indicate whether they belong to basic set of data or the complete set. e.g. #ColumnNameBasic, #ColumnAddressBasic, #ColumnSalary.

Columns without Basic in the name are hidden.

     Mthroutine Name(ShowBasicColumns)
 
        For each(#Column) in(#List.Columns)
           #List.Column.Visible := #Column.Name.Contains("Basic")
        Endselect

Endroutine

See also

All Component Classes

Technical Reference

  • No labels