AyCode.Blazor/AyCode.Blazor.Components/Components/Grids
Loretta b80b117a38 Update docs: enforce .md sync, clarify structure & TFMs
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
2026-03-29 09:26:15 +02:00
..
GridEditMode.cs Refactor grid InfoPanel: sticky, responsive, new icons 2025-12-17 10:20:17 +01:00
MgGridBase.cs Add AI process modal to shipping grid with toolbar button 2025-12-23 15:22:52 +01:00
MgGridDataColumn.cs Refactor MgGridDataColumn URL templating & update csproj refs 2026-03-24 18:38:44 +01:00
MgGridHelper.cs Refactor MgGridInfoPanel for theme, UX, and PDF perf 2025-12-19 13:59:00 +01:00
MgGridInfoPanel.razor Add URL link support to grid columns and info panel 2025-12-22 14:37:55 +01:00
MgGridInfoPanel.razor.cs Add MgLazyLoadContent, grid layout refactor, tests 2025-12-21 16:29:36 +01:00
MgGridInfoPanel.razor.css DevExpress Fluent theme: grid/info panel refactor 2025-12-21 08:24:40 +01:00
MgGridInfoPanelHelper.cs Refactor MgGridInfoPanel for theme, UX, and PDF perf 2025-12-19 13:59:00 +01:00
MgGridSignalRDataSource.cs Refactor SignalR hub registration and background tasks 2026-01-06 08:55:38 +01:00
MgGridToolbarBase.cs Refactor grid toolbar and InfoPanel for reusability 2025-12-17 18:31:59 +01:00
MgGridToolbarHelper.cs Refactor MgGridInfoPanel for theme, UX, and PDF perf 2025-12-19 13:59:00 +01:00
MgGridToolbarTemplate.razor Improve toolbar controls and async UX in stock taking 2026-02-07 08:55:00 +01:00
MgGridWithInfoPanel.razor Allow info panel collapse, improve grids, update SignalR 2026-03-22 16:04:17 +01:00
README.md Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:15 +02:00

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. Extends DxGrid and binds to an AcSignalRDataSource for 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>, a GridCustomDataSource that wraps AcSignalRDataSource. 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 -- Extends DxGridDataColumn with InfoPanel visibility/order parameters and a UrlLink template that renders cells as hyperlinks with {Property} placeholder substitution via compiled accessors.
  • MgGridInfoPanel.razor.cs -- MgGridInfoPanel component implementing IInfoPanelBase. Displays focused-row details with responsive column layout, edit/view mode, sticky positioning via JS interop, and cached column/display-text lookups.
  • MgGridToolbarBase.cs -- Extends DxToolbar with Grid, RefreshClick, and ShowOnlyIcon parameters.
  • GridEditMode.cs -- MgGridEditState enum: None, New, Edit.
  • MgGridHelper.cs -- Placeholder helper (empty).
  • MgGridToolbarHelper.cs -- Placeholder helper (empty).
  • MgGridInfoPanelHelper.cs -- Placeholder helper (empty).