komarovalexander / ka-table

Lightweight MIT React Table component with Sorting, Filtering, Grouping, Virtualization, Editing and many more
http://ka-table.com
MIT License
769 stars 56 forks source link

Header filter improvements #368

Closed komarovalexander closed 3 months ago

komarovalexander commented 9 months ago

version 11.0.0

New features 1) column.headerFilterSearchValue stores value for search by headerFilterValues 2) headerFilterSearch?: (value: any, searchValue: any, rowData?: any) => boolean; - used to customize header filter search logic 3) isHeaderFilterSearchable - enables search in header filter 4) childComponents.filterRowCellInput has been added for customization 5) childComponents.headerFilterPopupSearchInput has been added for customization 6) add new action updateHeaderFilterSearchValue(columnKey: string, headerFilterSearchValue: string)

Breaking changes 1) rename headFilterButton -> headerFilterButton 2) rename popupContent -> headerFilterPopupContent 3) popupContentItem has been deleted use headerFilterPopupRow instead 4) popupContentItemText & popupContentItemCellText have been deleted, use headerFilterPopupTextCell instead

415