SMART datagrid v.1 > Classes > CheckBar

Back  Forward

DataLudi.CheckBar.headStyles  property

Style Set which will be applied to "Check All" cell in which crosses GridHeader and CheckBar. 

If showAll is true, check mark will be displayed in this cell, and you can click the mouse to change Checked state of all rows. 

Getter
function headStyles(): GridStyles
Setter
function setHeadStyles(value: GridStyles)
Code -1
    grid.checkBar().setHeadStyles({
        shapeColor: "#f00",
        shapeInactiveColor: "#40880000"
    });
Code -2
    grid.loadStyles({
        checkbar: {
            head: {
                shapeColor: "#f00",
                shapeInactiveColor: "#40880000"
            }
        }
    });
See Also
checkAll
GridBase.isChecked
GridBase.checkBar
Examples
Check Bar
Checkable Expression & Callback