Is there a way for header template to not display if there is nothing to display?
I have a datagrid component which I use multiple times throughout my application but only one grid where I want to display a custom headertemplate.
If I pass down a renderfragment all the other datagrids will get empty headertemplate with nothing in it.
Hello @RagnarSmari maybe i can help:
Ur Custom Component based on DataGrid (In my case I name it SuperDataGrid):


Usage of ur cust component:
For me it work like this
1 Like
It worked, thank you so much!
1 Like
