From ea251a50faafa40a8218e35b705b14242fabaab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Jasikowski?= Date: Fri, 16 Oct 2020 16:29:00 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8D=EF=B8=8F=20Corrected=20"onFil?= =?UTF-8?q?ter"=20definition=20for=20Table=20Column=20in=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/table/index.en-US.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/index.en-US.md b/components/table/index.en-US.md index cddd8c65dd..790bbb33d4 100644 --- a/components/table/index.en-US.md +++ b/components/table/index.en-US.md @@ -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 | - | | | 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) | - | | -| 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) {} | - | | | onHeaderCell | Set props on per header cell | function(column) | - | | | showSorterTooltip | If header show next sorter direction tooltip, override `showSorterTooltip` in table | boolean | true | |