Enabled property: GridColumn class

Description

This property specifies whether the fields in the column are enabled (that is, can be edited) or if they are "disabled", that is, not editable. All columns are enabled by default.

Note:

For an analytic grid column, the Enabled property only works with cubes, not dimensions.

This property is read/write.

Example

If Not &ValidID Then 
   &MYGRID = GetGrid(PAGE.EMPLOYEE_CHECKLIST, "EMPL_GRID");
   &MYGRIDCOLUMN = &MYGRID.GetColumn("CHECKLIST_ITEMCODE");
   &MYGRIDCOLUMN.Enabled = False;
End-If;

The EnableColumns and SetProperties methods of the Grid class can provide a noticeable performance improvement over multiple calls to set the Enabled property of the GridColumn class.