0
safi created
Hi
I am using blazorise datagrid and added custom button into it. I need to show extra details into datagrid while clicking on that button. So these details should come in between selected and next rows so can you please suggest me for this.
Thanks,
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
1 Answer(s)
-
0
Please look at the Blazorise to learn how to use a
DetailRowTemplatehttps://blazorise.com/docs/extensions/datagrid/#detailrowtemplateTo control the visibility of
DetailRowTemplateyou can useDetailRowTriggerhandler. Once youz click on your button you set the flag that will be used by theDetailRowTriggerhandler.Example:
Task OnButtonClick() { someFlag = true; return Task.CompletedTask; }and
DetailRowTrigger="@((item)=>item != null && someFlag == true)"Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)