react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

Is it possible to make a ref on a column?

Open vtarelkin opened this issue 6 years ago • 1 comments

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 avatar Apr 16 '20 20:04 vtarelkin

@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

lavania-aditya avatar Jul 18 '20 14:07 lavania-aditya