957 B
957 B
MgGrid — Fullscreen & Rendering
Part of the MgGrid system. See
README.mdfor overview and component hierarchy.
Fullscreen Mode
Two modes depending on whether MgGridWithInfoPanel wraps the grid:
| Scenario | Behavior |
|---|---|
| With wrapper | ToggleFullscreen() delegates to wrapper — fullscreen includes grid + InfoPanel |
| Standalone | Grid renders its own mg-fullscreen-overlay with header (Caption + close button) and body |
Rendering
BuildRenderTree uses manual render tree building (not Razor markup):
- Outer
CascadingValue<IMgGridBase>— provides this grid asParentGridto children - If standalone fullscreen:
div.mg-fullscreen-overlay>div.mg-fullscreen-header+div.mg-fullscreen-body>base.BuildRenderTree - If normal:
div[style=display:contents]>base.BuildRenderTree _gridRenderKey(Guid) used as element key — changed byForceRenderAsync()to force re-initialization