Module YH-Table/src/views/columns/TableColumn
Type aliases
OnEditorCheckValue
On
EditorCheckValue: (column: TableColumn, row: Row, newvalue: any) => string
Type declaration
-
-
Parameters
Returns string
OnEditorValueChanged
On
EditorValueChanged: (column: TableColumn, row: Row, value: any) => void
OnEditorValueChanging
On
EditorValueChanging: (column: TableColumn, row: Row, newvalue: any, oldvalue: any) => boolean
Type declaration
-
- (column: TableColumn, row: Row, newvalue: any, oldvalue: any): boolean
-
Parameters
-
-
row: Row
-
newvalue: any
-
oldvalue: any
Returns boolean
OnSortHandle
On
SortHandle: (column: TableColumn, dircection: string) => void
OnTableColumnClickHandle
On
TableColumnClickHandle: (column: TableColumn) => void
OnTableColumnResizeHandle
On
TableColumnResizeHandle: (column: TableColumn) => void
编辑中校验脚本回调
列实例
行实例
新的值
null 允许通过, 非空则返回错误信息