react-bootstrap-table2
react-bootstrap-table2 copied to clipboard
Is it possible to make a ref on a column?
good day.
I want to use a default filter by react-select on table - so I need a ref on the column. How can I make this? ref on column returns me null. Maybe there is a better approach?
@vtarelkin use column formatter to define column and use ref inside it, this case will not return you null in ref. https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Work%20on%20Header%20Columns&selectedStory=Column%20Formatter&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel