Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Add support for rounded header corners [gridjs-react] #1470

Open
luistv-swe opened this issue Aug 1, 2024 · 0 comments
Open

Request: Add support for rounded header corners [gridjs-react] #1470

luistv-swe opened this issue Aug 1, 2024 · 0 comments

Comments

@luistv-swe
Copy link

Is your feature request related to a problem? Please describe.
(Using gridjs-react) I would like to have a sticky header with rounded corners, but the table rows are seen in the background of the sticky header because of the rounding. I'd prefer to have access to such an element through gridjs-react rather than having to access the DOM.

Describe the solution you'd like
I'd like to have an option to add a tr element into the thead element that we can style to match our header background and modify the z-index in order to cover up the table body showing behind the header. Example in React:

<thead className=''>
        {thContent}
	<tr className='gridjs-thead-rounded-corner-helper' />
</thead>

Describe alternatives you've considered
Any other solution that would allow for a sticky header with rounded corners without tbody content showing behind thead.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant