Hello,
I am using the SfGrid in a WebAssembly project. Syncfusion version 18.3.42 and downloaded/generated CRG 18.3.35. Both with Bootstrap4 style.
The problem is complicated to descripe. So here is the screenshot:
Here is the simple code that occuring the problem:
@page "/test2"
@using Syncfusion.Blazor.Grids
@using Client.ViewModel
<div style="margin:50px;background-color:black;">
<SfGrid TValue="HiCoSwc" DataSource="@test" AllowPaging="true" ShowColumnMenu="true" AllowFiltering="true" AllowGrouping="true" AllowSorting="true" AllowReordering="true" AllowResizing="true" >
<GridColumns>
<GridColumn Field="Name" HeaderText="Test Name" />
</GridColumns>
</SfGrid>
</div>
@code {
List<HiCoSwc> test = new List<HiCoSwc>() { new HiCoSwc() { Name = "hallo" }, new HiCoSwc() { Name = "conti" } };
}
Problem is that the marked area extending the size of the Grid and the div around the Grid shows the vertical scrollbars unnecessaryly.
BTW: Same problem with SfTreeGrid
Hope you can help me!
Best regards,
Bernd