Replies: 2 comments 3 replies
-
ItemSize is a parameter only used in combination with Virtualize parameter. Internally the DataGrid uses the standard Blazor Virtualize component and we use our parameter to pass it's value to the Virtualize component. See also https://learn.microsoft.com/en-us/aspnet/core/blazor/components/virtualization?view=aspnetcore-9.0#item-size |
Beta Was this translation helpful? Give feedback.
-
Yes, I am using virtualization for the grid. Normally, ItemSize works as expected. However, when using multiline text and attempting to display a scrollbar, this parameter does not function correctly. The row height adjusts to fit the content, making the scrollbars ineffective. I want to set a constant maximum height for table rows. This issue may be related to setting the height after loading data with multiline text. |
Beta Was this translation helpful? Give feedback.
-
ItemSize is ignored by active DisplayMode="DataGridDisplayMode.Table"
Beta Was this translation helpful? Give feedback.
All reactions