Grid Information:
| Grid ID: |
@Model.Id |
| Grid Name: |
@Model.GridName |
| View Component Name: |
@Model.ViewComponentName |
| Level: |
@Model.Level |
| Parent Grid ID: |
@(Model.ParentGridId?.ToString() ?? "None") |
@if (Model.DataContext != null && Model.DataContext.Any())
{
Data Context:
| Key |
Value |
Type |
@foreach (var kvp in Model.DataContext)
{
| @kvp.Key |
@kvp.Value |
@kvp.Value.GetType().Name |
}
@if (Model.DataContext.ContainsKey("contextId"))
{
Context ID Found: @Model.DataContext["contextId"]
}
else
{
Warning: No contextId found in DataContext
}
}
else
{
No Data Context available
}
@if (Model.Configuration != null)
{
Configuration:
| Show Child Grids As Tabs: |
@Model.Configuration.ShowChildGridsAsTabs |
| Requires Parent Row Selection: |
@Model.Configuration.RequiresParentRowSelection |
| Description: |
@(Model.Configuration.Description ?? "N/A") |
}
@if (Model.ChildGrids != null && Model.ChildGrids.Any())
{
Child Grids: This grid has @Model.ChildGrids.Count child grid(s)
@foreach (var child in Model.ChildGrids)
{
- @child.GridName (Level @child.Level)
}
}
else
{
No child grids
}
Full Model JSON:
@JsonSerializer.Serialize(Model, new JsonSerializerOptions { WriteIndented = true })