SMART datagrid v.1 > Classes > TreeOptions

Back  Forward

DataLudi.TreeOptions.iconField  property

ツリー行に表示するアイコンインデックス値が入っているフィールド。 

フィールドインデックスフィールド名前で指定することができる。 

ツリー行のアイコンはまずTreeRow.iconIndexundefinedでなければその値を使う。 iconIndexがundefinediconCallbackが設定されたらiconCallbackでリターンされる値を使う。 最後にiconCallbackが指定されていない場合iconFieldで指定したフィールドの値を使う。 

デフォルト値はundefined.

Getter
function iconField(): String|Integer
Setter
function setIconField(value: String|Integer)
See Also
TreeRow.fieldIndex
iconCallback
ツリー概要
Examples
Hello Tree