Options
All
  • Public
  • Public/Protected
  • All
Menu

Module YH-Table/src/views/columns/TableColumn

Index

Type aliases

OnEditorCheckValue

OnEditorCheckValue: (column: TableColumn, row: Row, newvalue: any) => string

编辑中校验脚本回调

param

列实例

param

行实例

param

新的值

returns

null 允许通过, 非空则返回错误信息

Type declaration

    • (column: TableColumn, row: Row, newvalue: any): string
    • Parameters

      Returns string

OnEditorValueChanged

OnEditorValueChanged: (column: TableColumn, row: Row, value: any) => void

编辑完发生变化回调

param

列实例

param

行实例

param

Type declaration

    • Parameters

      Returns void

OnEditorValueChanging

OnEditorValueChanging: (column: TableColumn, row: Row, newvalue: any, oldvalue: any) => boolean

编辑中发生变化回调

param

列实例

param

行实例

param

新的值

param

旧的值

returns

true 允许修改,则反之

Type declaration

    • (column: TableColumn, row: Row, newvalue: any, oldvalue: any): boolean
    • Parameters

      • column: TableColumn
      • row: Row
      • newvalue: any
      • oldvalue: any

      Returns boolean

OnSortHandle

OnSortHandle: (column: TableColumn, dircection: string) => void

排序回调

param

列实例

param

方向(升序/降序)

Type declaration

    • Parameters

      Returns void

OnTableColumnClickHandle

OnTableColumnClickHandle: (column: TableColumn) => void

列的点击的回调

param

列实例

Type declaration

OnTableColumnResizeHandle

OnTableColumnResizeHandle: (column: TableColumn) => void

列宽度编号的回调

param

列实例

Type declaration

Generated using TypeDoc