Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Grid Column - Visible Property

Panel
bgColor#2c3c4c

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