mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-01 19:57:48 +08:00
Table: update Table sortable type (#15253)
This commit is contained in:
parent
59311aa729
commit
d8002ccb07
2
types/table-column.d.ts
vendored
2
types/table-column.d.ts
vendored
@ -65,7 +65,7 @@ export declare class ElTableColumn extends ElementUIComponent {
|
||||
renderHeader: (h: CreateElement, data: RenderHeaderData) => VNode | string
|
||||
|
||||
/** Whether column can be sorted */
|
||||
sortable: boolean
|
||||
sortable: boolean | 'custom'
|
||||
|
||||
/** Sorting method. Works when `sortable` is `true` */
|
||||
sortMethod: (a: any, b: any) => number
|
||||
|
Loading…
Reference in New Issue
Block a user