metropolitan-bronze•4y ago
filtering ant table based on useSelect hook
consider i have select dropdown where i have values as one, two and three . Below i have ant table with column as number . so if select one i have to show only row with value of one
2 Replies
metropolitan-bronzeOP•4y ago
can u please give me a basic example of it
automatic-azure•4y ago
Hi @rehan1 👋
useSelect just a state management hook, u can manage any select component *(like a Html <select> tag, React Select, Antd select etc...) *.
You can follow this example how to filter antd table.
https://ant.design/components/table/#components-table-demo-head
or you can simply filter dataSource by any value.