SMART datagrid v.1 > Classes

Back  Forward

DataLudi.CheckBar  class

The model of area in which displays Check cells of indicating Checked state of Grid Rows

CheckBar is displayed vertically on the left side of grid. It is created when initializing grid, and can be visited by GridBase.checkBar property. You do not need to directly create this class object. 

In order for the user to click Check cell during run time to change Checked state, EditOptions.checkable should be specified as *true first. 

The Default Property is visible

Base Classes
VisualObject > GridObject > EventAware > DLBase
Constructor
function CheckBar (grid: GridBase);
Properties
checkableCallback
checkableExpression
checkableOnly
checkAllCallback
checkAllExpression
draggable
exclusive
exclusiveDisplay
headStyles
hideUncheckable
showAll
showGroup
visibleOnly
width
Inherited Properties
GridObject.owner
VisualObject.styles
VisualObject.visible
Inherited Methods
EventAware.addListener
DLBase.assign
VisualObject.ctor
GridObject.ctor
DLBase.getProperties
DLBase.getProperty
EventAware.removeListener
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Note
Code -1
    grid.setCheckBar({
        exclusive: false,
        draggable: true,
        showAll: true
    });
Code -2
    grid.checkBar().setExclusive(false).setDraggable(true).setShowAll(true);
Code -3
    grid.setOPtions({
        checkBar: false // Since the default property is visible, if set as false, visible will become false.
        ...
    });
See Also
GridBase.checkBar
GridBase.isChecked
EditOptions.checkable
RowIndicator
Examples
Check Bar
Checkable Expression & Callback