mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
docs: ✍️ Corrected "onFilter" definition for Table Column in docs
This commit is contained in:
parent
d4fd8f2698
commit
ea251a50fa
@ -140,7 +140,7 @@ One of the Table `columns` prop for describing the table's columns, Column has t
|
|||||||
| title | Title of this column | ReactNode \| ({ sortOrder, sortColumn, filters }) => ReactNode | - | |
|
| title | Title of this column | ReactNode \| ({ sortOrder, sortColumn, filters }) => ReactNode | - | |
|
||||||
| width | Width of this column ([width not working?](https://github.com/ant-design/ant-design/issues/13825#issuecomment-449889241)) | string \| number | - | |
|
| width | Width of this column ([width not working?](https://github.com/ant-design/ant-design/issues/13825#issuecomment-449889241)) | string \| number | - | |
|
||||||
| onCell | Set props on per cell | function(record, rowIndex) | - | |
|
| onCell | Set props on per cell | function(record, rowIndex) | - | |
|
||||||
| onFilter | Callback executed when the confirm filter button is clicked | function | - | |
|
| onFilter | Function that determines if the row is displayed when filtered | function(value, record) => boolean | - | |
|
||||||
| onFilterDropdownVisibleChange | Callback executed when `filterDropdownVisible` is changed | function(visible) {} | - | |
|
| onFilterDropdownVisibleChange | Callback executed when `filterDropdownVisible` is changed | function(visible) {} | - | |
|
||||||
| onHeaderCell | Set props on per header cell | function(column) | - | |
|
| onHeaderCell | Set props on per header cell | function(column) | - | |
|
||||||
| showSorterTooltip | If header show next sorter direction tooltip, override `showSorterTooltip` in table | boolean | true | |
|
| showSorterTooltip | If header show next sorter direction tooltip, override `showSorterTooltip` in table | boolean | true | |
|
||||||
|
Loading…
Reference in New Issue
Block a user