Closed anmcgrath closed 5 months ago
This PR handles better handles rendering an empty sheet (rows/cols = 0)
The visual sheet should no longer cause a crash as issue #78.
If the sheet has no columns or rows, the fallback is now to render the EmptyColumnsTemplate or EmptyRowsTemplate on the datasheet:
[Parameter] public RenderFragment? EmptyColumnsTemplate { get; set; } [Parameter] public RenderFragment? EmptyRowsTemplate { get; set; }
Works fine :)
This PR handles better handles rendering an empty sheet (rows/cols = 0)
The visual sheet should no longer cause a crash as issue #78.
If the sheet has no columns or rows, the fallback is now to render the EmptyColumnsTemplate or EmptyRowsTemplate on the datasheet: