Attribute: {
    allowPasteClearOnly?: boolean;
    attribute: string;
    currentFilterValue?: string | number | boolean | Date;
    dynamicCellTypeColumn?: string;
    focusButton?: "SHOW_IF_GRID_NOT_READONLY" | "SHOW_IF_GRID_AND_CELL_NOT_READONLY" | "ALWAYS";
    label?: string;
    mandatory?: boolean;
    mandatoryOnlyIfEmpty?: boolean;
    numberOverride?: "ZERO_TO_BLANK" | "BLANK_TO_ZERO";
    operator?: FilterComparisonOperator;
    placeHolderFilter?: string;
    placeHolderRow?: string;
    readonly?: boolean;
    type?: DataTypes;
}

Type declaration

  • Optional allowPasteClearOnly?: boolean

    usefull for fields where you have dropdown etc, but want to allow user to update using copy/paste/clear + the dropdown

  • attribute: string
  • Optional Internal currentFilterValue?: string | number | boolean | Date

    current filter value, this is really more of a internal state..

  • Optional dynamicCellTypeColumn?: string

    tries to look at value and set row cell based on it this way we can have number/text etc in same column PS! this can create side effects on filter/grouping/sorting

  • Optional focusButton?: "SHOW_IF_GRID_NOT_READONLY" | "SHOW_IF_GRID_AND_CELL_NOT_READONLY" | "ALWAYS"

    like the name says, shows a focus button, you need to use the gridinterface event to do anythnig useful with it like dialog, dropdown etc

  • Optional label?: string
  • Optional mandatory?: boolean

    adds a blue ish color in background, highlighting cell, you can override color with css

  • Optional mandatoryOnlyIfEmpty?: boolean

    only show blue ish color in background if its empty

  • Optional numberOverride?: "ZERO_TO_BLANK" | "BLANK_TO_ZERO"

    like the name says, default it to display value it have recived, but you might have other needs

  • Optional operator?: FilterComparisonOperator
  • Optional placeHolderFilter?: string
  • Optional placeHolderRow?: string
  • Optional readonly?: boolean

    sets cell to readonly, usefull if you need it to stay readonly if grid is not readonly

  • Optional type?: DataTypes

Generated using TypeDoc