SMART datagrid v.1 > Classes > TreeOptions

Back  Forward

DataLudi.TreeOptions.footerLevels  property

ツリー行ごとFooterを表示するツリー行レベル達。 

すべてのレベルでFooterを表示するためには""*に指定する。 一つ以上の特定のレベルを指定するためには[1, 2]のようにレベル数字で指定する。 より複雑なロジックでFooter行を指定するためにはfooterDisplayCallbackを使用する。 

footerDisplayCallbackが指定されればこのプロパティーは無視される。 

デフォルト値はnull.

Getter
function footerLevels(): String|Array
Setter
function setFooterLevels(value: String|Array)
Code -1
    tree.setTreeOptions({
        footerDisplayCallback: null, // この設定が優先されるのでnullに指定。
        footerLevels: "*" // すべてのレベル。
        // または
        footerLevels: [1, 2]
    });
See Also
footerDisplayCallback
footerStyles
ツリー概要
Examples
Tree Row Footer
Hello Tree