SMART datagrid v.1 > Classes

Back  Forward

DataLudi.TreeOptions  classno-lite

The group of properties related to the display and operation of TreeView

It is used as treeOptions property. Since it is created when initialize tree view, you do not need to directly create this class object. 

Base Classes
GridObject > EventAware > DLBase
Constructor
function TreeOptions (treeView: TreeView);
Properties
checkBoxSize
checkBoxVisible
childrenCallback
expanderStyles
expanderWidth
footerDisplayCallback
footerLevels
footerStyles
iconCallback
iconField
iconHeight
iconList
iconWidth
line
linesVisible
rowSummaryMode
rowSummaryScope
summaryScope
Inherited Properties
GridObject.owner
Inherited Methods
EventAware.addListener
DLBase.assign
GridObject.ctor
DLBase.getProperties
DLBase.getProperty
EventAware.removeListener
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Code -1
    tree.setTreeOptions({
        linesVisible: false,
        checkBoxVisible: true
    });
    // You can contain in setOptions.
    tree.setOptions({
        display: {
            fixedColumnCount: 2
        },
        tree: {
            linesVisible: false,
        },
        "tree.showCheckBox": true
    });
See Also
TreeView
Tree Overview
Examples
Hello Tree