SMART datagrid v.1 > Classes > CheckBar

Back  Forward

DataLudi.CheckBar.draggable  property

If it is true, it will continuously check one or more CheckBar cells by dragging the mouse. 

If type Ctrl key, it will toggle Checked state of each cell. 

Defaults to false.

Getter
function draggable(): Boolean
Setter
function setDraggable(value: Boolean)
Code -1
    $('#draggable').click(function (ev) {
        grid.checkBar().setDraggable(ev.target.checked);
    });
See Also
GridBase.isChecked
EditOptions.checkable
GridBase.checkBar
Examples
Check Bar
Checkable Expression & Callback