IsEnabled - cCJGridFreezeColumnMenuItem
Returns true if a grid column object exists
Type: Function
Return Data Type: Boolean
Syntax
Function IsEnabled Returns Boolean
Call Example
Get IsEnabled to BooleanVariable
Description
When you click on a header of a cCJGrid class, the property phoContextMenuColumn is set to column object that was selected. It is possible to click in the header area to the right of the last column. When this happens, phoContextMenuColumn is set to 0. IsEnabled returns true if phoContextMenuColumn is non-zero.
This ensures that the object is disabled if there is no column associated with the event.
Return Value
Returns true if there is a grid column associated with the header click event.