AyCode.Blazor/AyCode.Blazor.Components/Components/Grids
Loretta d5fdd57ddd Enforce strict AI agent protocol, doc sync, and glossary
- Added "AI AGENT CORE PROTOCOL" to all copilot-instructions.md files: mandates [LOADED_DOCS] prefix, hard-gates tool usage, enforces no-re-read of .md files, and requires user consent for doc/code changes.
- Updated CLAUDE.md to require reading copilot-instructions.md first.
- Added topic-based doc separation and folder navigation rules.
- Changed doc sync: agent now passively detects discrepancies and asks before updating docs.
- Every code-modifying response must end with a [DOCUMENTATION CHECK] section.
- Centralized measurement system and domain traps in new FruitBank.Common/docs/GLOSSARY.md; updated references in FruitBankHybridApp GLOSSARY.md.
- Clarified schema and doc locations in FruitBankHybridApp README.md.
- Added hybrid execution model section to AyCode.Core BINARY_FEATURES.md.
- Removed unnecessary BeginUpdate/EndUpdate calls in MgGridBase.cs for layout persistence.
- Removed full Toon schema from plugin SCHEMA.md to avoid duplication.
2026-04-02 09:02:54 +02:00
..
GridEditMode.cs Refactor grid InfoPanel: sticky, responsive, new icons 2025-12-17 10:20:17 +01:00
MgGridBase.cs Enforce strict AI agent protocol, doc sync, and glossary 2026-04-02 09:02:54 +02: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 Refactor MgGrid documentation into modular files 2026-03-30 08:00:53 +02:00

README.md

Grids

Core grid system built on DevExpress DxGrid. For the full technical reference see AyCode.Blazor.Components/docs/MGGRID.md.

Key Files

  • MgGridBase.csMgGridBase<TSignalRDataSource, TDataItem, TId, TLoggerClient>, the main abstract grid component. Extends DxGrid with SignalR CRUD, layout persistence, master-detail hierarchy, edit state tracking, fullscreen toggle.
  • MgGridWithInfoPanel.razorDxSplitter wrapper: grid (left) + InfoPanel (right), fullscreen overlay, splitter size persistence.
  • MgGridToolbarBase.cs — Extends DxToolbar with Grid, RefreshClick, and ShowOnlyIcon parameters.
  • MgGridToolbarTemplate.razor — Full toolbar template: New/Edit/Delete/Save/Cancel, row navigation, layout menu (Load/Save/Reset), column chooser, export, reload, fullscreen. Extensible via ToolbarItemsExtended.
  • MgGridDataColumn.cs — Extends DxGridDataColumn with InfoPanel parameters (ShowInInfoPanel, InfoPanelOrder, InfoPanelDisplayFormat) and UrlLink template with {Property} placeholder substitution via compiled accessors.
  • MgGridInfoPanel.razor / .razor.csMgGridInfoPanel implementing IInfoPanelBase. Responsive column layout (1-4 columns with breakpoints), edit/view mode with typed editors, template system, sticky positioning via JS interop.
  • MgGridSignalRDataSource.csGridCustomDataSource wrapping AcSignalRDataSource. Local cache for seen filter criteria, background refresh.
  • GridEditMode.csMgGridEditState enum: None, New, Edit.
  • MgGridHelper.cs, MgGridToolbarHelper.cs, MgGridInfoPanelHelper.cs — Placeholder helpers (empty).