Comments (4)
Hi,
I found that adding Style="min-width: max-content;" to the FluentDataGrid , as shown in the example you previously mentioned, ensures that the column headers and rows render properly.
Regards
Jose Coelho
from fluentui-blazor.
Hi,
Thanks for your report. We will look into it shortly!
from fluentui-blazor.
This is unfortunately an problem in the current version of the underlying web components in combination with the GenerateHeaderOption.Sticky
option. As a (sort of) solution, you can set the header type to not be sticky as there won't be a background set on the header cells.
I recreated a similar table on the FAST Explorer site and the same is happening there (the table is wider and I scrolled to the right):
As the web components team is busy it building their next version and deprecation of older libs is taking place, I'm afraid there won't be a fix for this soon (if ever).
I'm closing this issue because it can't be fixed on our side. I you want, you can open an issue in the FAST repo for this, but as said I think changes of seeing it solved are slim.
PS. If you want to have a horizontal scrolling grid, do it like shown at https://www.fluentui-blazor.net/DataGrid#tablewithscrollbars. Much smoother then setting an overflow on the grid itself.
<div style="display: table; table-layout: fixed; width: 100%;">
<div style="overflow-x: auto;">
<FluentDataGrid Id="weathergrid"...>
:
:
</FluentDataGrid>
</div>
</div>
from fluentui-blazor.
That is a great find @jmjcoelho! Glad that got you unblocked.
I'll make sure to add a note on this to the docs.
from fluentui-blazor.
Related Issues (20)
- fix: Unexpected binding behavior in FluentSelect HOT 3
- FluentCounterBadge destroy menu offset in FluentNavGroup HOT 5
- fix: popover doesn't close in FluentOverflow HOT 1
- feat: add setting to always display the first item in FluentOverflow HOT 1
- fix: Class property not passed down to fluent-design-system-provider HOT 2
- FluentSearch AutoComplete
- Need help with CSS isolation with new rendering modes Blazor HOT 2
- Unable to enable Dark Theme when using Blazor SSR and Htmxor HOT 1
- fix: FluentCombobox ReadOnly not work HOT 3
- feat: Can we provide support for multiple languages HOT 6
- SelectedItemChanged doesn't trigger on first sub item HOT 1
- fix: OnRowClick is always trigger in FluentDataGrid HOT 6
- [FluentSortableList] Fix ability to show more than one line in the template HOT 1
- Fix For: Missing LibraryConfiguring Injection in DesignToken.razor.cs HOT 1
- fix: Fixed + ellipsis cut off in FluentOverflow HOT 11
- Toolbar example preview error HOT 2
- fix: FluentButton doesn't support Appearance.Filled in templates
- Tooltip sample is not displayed over menu HOT 1
- Using SplashScreen HOT 1
- Possible bug in the 4.9.2 javascript HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui-blazor.