Goodmornig,
Snippet of the grid:
<SfGrid DataSource="@AllDates"
AllowSorting="true"
AllowPaging="false"
EnableHover="false"
AllowResizing="true"
AllowExcelExport="false"
Height="100%"
Width="100%"
@ref="DefaultGrid">
Made i component (ClockTimesComponent) from it an wrapped it in the following:
<div class="myClockTimesComponentRow col-7 border rounded p-1" style="background-color: #ddd">
<ClockTimesComponent />
</div>
CSS snippet:
.myClockTimesComponentRow {
width: 100%;
height: 400px;
}
After adding the ExcelExport button
<SfButton OnClick="ExcelExport" Content="Excel Export"></SfButton>
<SfGrid DataSource="@AllDates"
AllowSorting="true"
AllowPaging="false"
EnableHover="false"
AllowResizing="true"
AllowExcelExport="false"
Height="100%"
Width="100%"
@ref="DefaultGrid">
the grid height increases.
Hope you can help me out.
Best regards,
Thijs van Rijswijk