Type alias ColumnProps

ColumnProps: {
    cellRender?: ((scope: any) => any);
    children?: ColumnProps[];
    columnSetDisabled?: Boolean;
    columnSetShow?: Boolean;
    component?: ComponentProps;
    formatter?: ((scope: any) => string);
    key?: string;
    order?: number;
    show?: Boolean;
    [key: string]: any;
}

单元格配置

Type declaration

  • [key: string]: any
  • Optional cellRender?: ((scope: any) => any)
      • (scope: any): any
      • 自定义render方法

        Parameters

        • scope: any

        Returns any

  • Optional children?: ColumnProps[]

    多级表头

  • Optional columnSetDisabled?: Boolean

    在列设置中是否禁用勾选

  • Optional columnSetShow?: Boolean

    在列设置中是否显示此字段

  • Optional component?: ComponentProps

    单元格组件配置

  • Optional formatter?: ((scope: any) => string)
      • (scope: any): string
      • 格式化方法,比如格式化一下时间

        Parameters

        • scope: any

        Returns string

  • Optional key?: string
  • Optional order?: number

    列排序号

  • Optional show?: Boolean

    此列是否显示

Generated using TypeDoc