SMART datagrid v.1 > Classes > GridStyles

Back  Forward

DataLudi.GridStyles.booleanFormat  property

データセルにBooleanの値を表示する時使われる文字列の変換フォーマット。 コロン(:)、又はセミコロン(;)でfalse, true, undefinedの場合の変換文字列を指定する。 指定されていない値はそれぞれ"false", "true", ""で表示される。 

Getter
function booleanFormat(): String
Setter
function setBooleanFormat(value: String)
Code -1
    column.styles().setBooleanFormat('偽;真;不定');
    // undefined 部分は指定しなくてもいい。
    column.styles().setBooleanFormat('未支給;支給');
See Also
datetimeFormat
numberFormat
スタイル概要
Examples
BooleanValue
Column Styles