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

hidden table header but not whole column

Open ryanbelt opened this issue 8 years ago • 12 comments

hi, is there able to not showing the header row of the table. Cuz i dont' want any header but just the content

<BootstrapTable data={object}>
<TableHeaderColumn>...</TableHeaderColumn>
<TableHeaderColumn>...</TableHeaderColumn>
</BootstrapTable>

ryanbelt avatar Oct 04 '16 14:10 ryanbelt

You mean like this?

<TableHeaderColumn
   className="col-hidden"
>

Where .col-hidden { display: none }

jflayhart avatar Oct 05 '16 18:10 jflayhart

thank you, that does work. But could this be one of the feature which make it as hiddenHeader={true} then the whole header will be hide

ryanbelt avatar Oct 05 '16 18:10 ryanbelt

@jflayhart, thanks. Anyway, I'll consider to add this feature in future.

AllenFang avatar Oct 07 '16 02:10 AllenFang

Hi. I tried to add display: none class, but Header is still showing. Is there any changes that needs to be done? Thanks.

tonven avatar May 03 '17 09:05 tonven

Found answer myself. You need to add .col-hidden class to bootstrap tables's tableHeaderClass: <BootstrapTable tableHeaderClass={"col-hidden"}

tonven avatar May 03 '17 11:05 tonven

You need to add .col-hidden class to bootstrap tables's tableHeaderClass

Good idea 👍

AllenFang avatar May 04 '17 12:05 AllenFang

@AllenFang was this feature implemented? if not will you accept a PR to do so?

keviny22 avatar Aug 15 '17 21:08 keviny22

@keviny22 PR is welcome :)

AllenFang avatar Aug 19 '17 02:08 AllenFang

@keviny22 , Can I know what is the status on it? It is implemented or raised a PR?

madhunandi avatar Sep 06 '17 15:09 madhunandi

@AllenFang , Is there an feature where I can hide entire column ?

madhunandi avatar Sep 06 '17 15:09 madhunandi

@MadhuNandi currently we still haven't this feature.

AllenFang avatar Sep 09 '17 03:09 AllenFang

is this feature not implemented yet?? or is sticky header with scrollable body available now ??

anurag060 avatar Oct 07 '19 12:10 anurag060