Hello,
I need to migration some legacy stuff and some weird Object-constellation is giving me some problems with the binding in the Blazor Telerik-Grid.
Maybe some-one can give me some advise.
Example Code of legacy data structure:
class MainObject() { string Id {get; set;} SubObject[] SubObject {get;set;}}SubObject { string Key {get;set;} string Value {get;set;}
Details: the SubObject contains some-kind of descriptive Information that is customized for every system.
Goal:
protected IList<MainObject> MainObjectList{ get; set; }
<TelerikGrid Data=@MainObjectList><GridColumn Field="Id" Title="Id"></GridColumn><GridColumn Field="SubObject.First().Value" Title="SubObject.First().Key"></GridColumn>
What I try to achieve is to show some of the normal properties of the MainObject and some of the Descriptive-Informations inside the SubObjects in the Grid.
I did not even managed to show any of the Informations of the SubObject, is this even possible?