Greetings everyone! First off I love Radzen, I don't know what I would do without it!
My question is this... In trying to meet a user request I stumbled upon this forum post where the exact thing I want appears to have been implemented. Does anyone know how to achieve a similar effect in Blazor using Radzen?
Display Detail Records In-Line on Master Rows W/Datagrid?
For every master record, I want to be able to display each detail within the same row as pictured in the screenshot I have linked to. Can someone help or point me to a better resource?
You can use Template property of the DataGrid similar to pages created with our Master/Detail Hierarchy wizard. Or you are looking for TreeGrid? TreeGrid like structure is not supported at the moment.
Vladimir, thank you for your prompt response. I am definitely trying to use the data grid. I will experiment with your suggestion today and respond again in this thread if I am still having problems!
The data class I have for my master table includes a defintion of the detail table, it looks like this public virtual ICollection<TblDetail> TblDetail { get; set; }
Within the datagrid, I would like to call something like
@* THIS IS WHERE I NEED HELP *@
<RadzenGridColumn TItem="TblMaster"
Property="TblDetail.detail_column"
Title="detail_column">
</RadzenGridColumn>
Apologies for all the questions. I really appreciate your assistance on this. Is what I am asking for supported by Radzen Blazor?
[2020-04-02 13:17:02.549] [error] TypeError: Cannot read property 'properties' of undefined
at resolveSchema (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:9:73918)
at su.render (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:290:3112394)
at ki (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:63001)
at Ci (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:62796)
at Ti (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:66630)
at Vo (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:90674)
at Wo (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:91058)
at vs (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:97945)
at Cs (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:97325)
at Qs (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:98700)
at In (file:///Applications/Radzen.app/Contents/Resources/app.asar/static/renderer.js:189:30568)
Thanks! I was able to reproduce it locally - we will do our best to release fix with our next update (early next week). In the meantime you can add the detail grid as template string: