mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
Table: update Table sortable type (#15253)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user