Function booleanInputPipe

  • 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.

    Parameters

    • input: any
    • rowIndex: number
    • columnIndex: number

    Returns any

    Example

    ColumnDef.create({ property: "paid", editable: TrueFn, editInputPipe: booleanInputPipe });
    

    Since

    1.1.99