title: react-bootstrap-table2 csv prevent export hidden columns
body: <p>Using react-bootstrap-table2 how would I go about preventing exporting hidden columns in the csv export component? Currently my UI has the ability to hide columns using the built in column toggle feature in react-bootstrap-table2. However, by default csv will export all columns. </p>
  
  <p>There seems to be a way to do this by row but not seeing anything for by column <a href="https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Export%20CSV&amp;selectedStory=Only%20Export%20Filtered%2FSearched%20Rows&amp;full=0&amp;addons=1&amp;stories=1&amp;panelRight=0&amp;addonPanel=storybook%2Factions%2Factions-panel" rel="nofollow noreferrer">https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html?selectedKind=Export%20CSV&amp;selectedStory=Only%20Export%20Filtered%2FSearched%20Rows&amp;full=0&amp;addons=1&amp;stories=1&amp;panelRight=0&amp;addonPanel=storybook%2Factions%2Factions-panel</a></p>