'How to custom search bars in Ant Design ProTable
Currently, I am using table of antd ProTable. I want to divide a column into two smaller ones, and each should has its equivalent search bar. However, it only shows the search bar for the parent column title (the one for Video as in picture).
I use ProTable because it has available search bar for every column in the table.
Thank you in advance!
Solution 1:[1]
Check this link: https://codesandbox.io/s/customized-filter-panel-antd-4-20-2-forked-otcsho . This code is based on the customized filter panel of ant design: https://ant.design/components/table/#components-table-demo-custom-filter-panel . The main idea is to specify the two smaller columns as children of the bigger one, and then give them the property of search bar.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Clem |
