An editInputPipe for true/false: "TRUE", "yes", "1", "x" (also German WAHR, ja) → true; "FALSE", "no", "0" (FALSCH, nein) → false, ignoring case; empty text stays "", other text as it is.
editInputPipe
true
false
"TRUE"
"yes"
"1"
"x"
WAHR
ja
"FALSE"
"no"
"0"
FALSCH
nein
""
ColumnDef.create({ property: "paid", editable: TrueFn, editInputPipe: booleanInputPipe }); Copy
ColumnDef.create({ property: "paid", editable: TrueFn, editInputPipe: booleanInputPipe });
1.1.99
An
editInputPipefortrue/false:"TRUE","yes","1","x"(also GermanWAHR,ja) →true;"FALSE","no","0"(FALSCH,nein) →false, ignoring case; empty text stays"", other text as it is.