Replaced AcToonSerializer.Serialize with SerializeTypeMetadata<FullProcessModel> in ToonTests. The test now serializes only the type metadata for FullProcessModel using the domain description, rather than serializing the actual data instance. Assertions and comments remain unchanged. |
||
|---|---|---|
| .. | ||
| GridEditMode.cs | ||
| MgGridBase.cs | ||
| MgGridDataColumn.cs | ||
| MgGridHelper.cs | ||
| MgGridInfoPanel.razor | ||
| MgGridInfoPanel.razor.cs | ||
| MgGridInfoPanel.razor.css | ||
| MgGridInfoPanelHelper.cs | ||
| MgGridSignalRDataSource.cs | ||
| MgGridToolbarBase.cs | ||
| MgGridToolbarHelper.cs | ||
| MgGridToolbarTemplate.razor | ||
| MgGridWithInfoPanel.razor | ||
| README.md | ||
README.md
Grids
Core grid system built on DevExpress DxGrid with SignalR-based data binding, CRUD operations, layout persistence, fullscreen mode, and an info panel for row details.
Key Files
MgGridBase.cs--MgGridBase<TSignalRDataSource, TDataItem, TId, TLoggerClient>, the main abstract grid component. ExtendsDxGridand binds to anAcSignalRDataSourcefor real-time CRUD via SignalR message tags. Supports master-detail hierarchy (ParentGrid,GetRootGrid), row navigation, edit state tracking, layout auto-save/load/reset via localStorage, and fullscreen toggle.MgGridSignalRDataSource.cs--MgGridSignalRDataSource<TDataItem, TId>, aGridCustomDataSourcethat wrapsAcSignalRDataSource. Returns local data instantly for previously-seen filter criteria while refreshing from the server in the background. Handles filter, sort, paging, unique values, and summary calculations locally.MgGridDataColumn.cs-- ExtendsDxGridDataColumnwith InfoPanel visibility/order parameters and aUrlLinktemplate that renders cells as hyperlinks with{Property}placeholder substitution via compiled accessors.MgGridInfoPanel.razor.cs--MgGridInfoPanelcomponent implementingIInfoPanelBase. Displays focused-row details with responsive column layout, edit/view mode, sticky positioning via JS interop, and cached column/display-text lookups.MgGridToolbarBase.cs-- ExtendsDxToolbarwithGrid,RefreshClick, andShowOnlyIconparameters.GridEditMode.cs--MgGridEditStateenum:None,New,Edit.MgGridHelper.cs-- Placeholder helper (empty).MgGridToolbarHelper.cs-- Placeholder helper (empty).MgGridInfoPanelHelper.cs-- Placeholder helper (empty).
LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.