Closed ADefWebserver closed 1 week ago
Hey @ADefWebserver in general I wasn't handling empty rows/columns very well. Please have a look at PR #79 see if it's a reasonable solution.
@anmcgrath - Yes this is very elegant. This follows the pattern that most Data controls use, to allow a template to be provided when there is no data.
In:
SimpleExample.razor
Change:
To:
(I am sure you're like "Why??" but in my program I am loading data from a database and the table may be empty. I allow you to add rows so that is why I would want to load an empty table)
When you run it you get: