-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
[Bug]: ShowHeaderGroupCaptions messes with DataGrid Layout #5804
Comments
Since this is coming from Bootstrap by default, I believe it is best to add some custom CSS rules on your project side as a workaround until we make a fix for this. .table-fixed-header table.b-table
{
width: unset:
} |
Thankyou, this will be fine for the time being. The workaround is working for me! |
Hello @Alexander-JM-0224 Due to time and some technical difficulties, we have postponed the fix for this issue for another release. Hopefully, we will find a better solution by then. |
Hello @stsrki, i was following the PR and was thinking.. Yeah this might not be a quick fix ;) Thanks for the actions at least! |
Blazorise Version
1.6.2
What Blazorise provider are you running on?
Bootstrap5
Link to minimal reproduction or a simple code snippet
https://github.com/Alexander-JM-0224/BlazoriseDataGridTestApp.git
Steps to reproduce
Open the app, switch between the 2 pages in the navbar and see the difference.
What is expected?
My expectation would be that when i have a nice working DataGrid where the styling is okay and the columns are the correct width. Adding the ShowHeaderGroupCaptions should not mess with the layout of the DataGrid
What is actually happening?
Well, when i add the ShowHeaderGroupCaptions is smushes soms columns. Does not respect the Width attributes we added to the columns.
First the DataGrid without ShowHeaderGroupCaptions.
Then the DataGrid with ShowHeaderGroupCaptions.
Now how it should be.
What i need to do to make the DataGrid correct is in the inspector i need to turn 2 Width properties off, then it is showing correct spacing.
What browsers do you see the problem on?
Chrome, Firefox
Any additional comments?
This is a small difference, but it is not something we want to have happen, and i sincerely doubt this should be the expected behaviour of the functionality.
Please, if i am missing something, or there is a simple workaround please let me know.
The text was updated successfully, but these errors were encountered: