Skip to content

Conversation

@chunming-c
Copy link
Member

@chunming-c chunming-c commented Nov 3, 2018

Fix #36

Description

Implement sticky header.

TODO

  • broken layout in small device
  • Documentation
  • Unit test
@AllenFang
Copy link
Member

💯 Nice contribution

@AllenFang AllenFang mentioned this pull request Dec 5, 2018
@akparaliev
Copy link

could you give me an update on this task?

@akparaliev
Copy link

@Chun-MingChen @AllenFang

@chunming-c
Copy link
Member Author

@akparaliev, I found some bug exists. Decline this PR first and it will be reopened soon.

@chunming-c chunming-c closed this Dec 24, 2018
@AllenFang
Copy link
Member

@Chun-MingChen share more on this PR please, thanks

@Priyasingh589
Copy link

Priyasingh589 commented Feb 8, 2019

@AllenFang @Chun-MingChen , can you please share if fixed header feature will be available anywhere soon in react-bootstrap-table2, similar to this one : https://ant.design/components/table/#components-table-demo-fixed-columns-header

@AllenFang
Copy link
Member

@Priyasingh589 sure, I will let you know when we support this feature, we encounter some issues and we are already working on this, give me some time, thank you

@AllenFang AllenFang reopened this Feb 10, 2019
@AllenFang
Copy link
Member

@AllenFang
Copy link
Member

@thomas-shares
Copy link

Hi,
We are really looking forward to this feature as it would help us tremendously! And we were also wondering if it would be possible to have a sticky footer as well? That would make navigating lots of data with totals at the bottom even more convenient.
Thank you for your hard work on this wonderful Component!!!

@CaptainTux
Copy link

CaptainTux commented Aug 23, 2019

Hi, this component is absolutely great!
Is there any progress on the sticky header?
Or maybe I can help, if there's someone still working on it.

@fulin426
Copy link

fulin426 commented Oct 3, 2019

@CaptainTux

https://stackoverflow.com/questions/56040119/table-with-horizontal-and-vertical-scroll-with-fixed-header

It looks like using a sticky header to fix the header to the top worked for me.

th {
position: sticky:
top: 0;
}

Then add overflow to the parent div.

@mlvaughn10
Copy link

mlvaughn10 commented May 21, 2020

@fulin426 That approach hasn't seemed to help me. I've been unsuccessful in any attempts to fix my headers. Any updates/plans to re-engage on this topic, @Chun-MingChen @AllenFang ?

@fulin426
Copy link

@mvaughn10 not really sure. It's been awhile since I last used this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

9 participants