Expanded and clarified solution/project documentation: - Added all top-level docs and docs/ folder as solution items in .sln files - Inserted maintenance notices in all project and subfolder READMEs: require .md sync with code - Main READMEs now include project tables with TFM, purpose, and README links - ARCHITECTURE.md now details dependency graph and TFM rationale - CONVENTIONS.md and copilot-instructions.md require code reuse, no redundancy - Glossary and conventions updated to require terminology/rule updates with code changes - Emphasized DLL-only AyCode.Core refs and nopCommerce .NET 9.0 requirement - Clarified domain terms and intentional typos - No code logic changes; documentation and guidance only |
||
|---|---|---|
| .. | ||
| 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).