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

Hide Column but keep in table

Open Abuitime opened this issue 9 years ago • 2 comments

Hello,

I am pulling data from the table after it has been edited. I included the id of each row when generating the data for the table. Is there a way to hide the column containing the ID.

Basically is there a way to hide a column?

Thank you

-Alex

Abuitime avatar Jan 18 '17 22:01 Abuitime

I just needed to check for the column I wanted to hide within the bootstrap tag and modify the style of the TableHeaderColumn to include "display:none"

Abuitime avatar Jan 18 '17 23:01 Abuitime

hello, <TableHeaderColumn dataField='ID' hidden></TableHeaderColumn>

AllenFang avatar Jan 19 '17 15:01 AllenFang