AyCode.Blazor/AyCode.Blazor.Components/Components/Grids
Loretta 11d1ae1d17 Improve filter panel restore logic and doc clarity
Major overhaul of MgGridFilterPanelTagBox restore/healing logic:
- Level-triggered healing prevents lost filter criteria after async loads.
- Healing now only triggers when needed; delayed assert ensures stability.
- ValuesChanged event guarded to avoid accidental filter clearing.
- Diagnostics dormant but retained for future debugging.
- Comments and summaries updated for clarity.

Docs (MGGRID_PARAMETERS.md, 0004-signalr-datasource-server-side-filtering.md) updated to explain new logic, rationale, and future plans.

Minor refactor in GridShippingDocument.razor for reload clarity.
No functional change in ShippingsAdmin.razor (comment only).
2026-07-17 15:23:24 +02:00
..
GridEditMode.cs Refactor grid InfoPanel: sticky, responsive, new icons 2025-12-17 10:20:17 +01:00
MgGridBase.cs Refactor grid filter panel system for clarity/extensibility 2026-07-17 05:34:01 +02:00
MgGridDataColumn.cs InfoPanel: custom edit templates & null edit model fix 2026-07-12 08:36:20 +02:00
MgGridFilterPanelTagBox.cs Improve filter panel restore logic and doc clarity 2026-07-17 15:23:24 +02:00
MgGridHelper.cs Refactor MgGridInfoPanel for theme, UX, and PDF perf 2025-12-19 13:59:00 +01:00
MgGridInfoPanel.razor InfoPanel: custom edit templates & null edit model fix 2026-07-12 08:36:20 +02:00
MgGridInfoPanel.razor.cs EKÁER grid: status enum fix, batch create, UI/UX, DB guard 2026-06-11 08:52:09 +02: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: remove Server DLLs, unify SignalR references 2026-06-08 16:53:27 +02: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 Add quick-filter panel slot to MgGridBase 2026-07-16 06:28:55 +02:00
MgGridWithInfoPanel.razor Allow info panel collapse, improve grids, update SignalR 2026-03-22 16:04:17 +01:00
README.md Refactor MgGridBase filter panel & unify filter criteria 2026-07-16 15:01:37 +02:00

README.md

Grids

Core grid system built on DevExpress DxGrid. For the full technical reference see AyCode.Blazor.Components/docs/MGGRID/README.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, and a quick-filter FilterPanel slot (renders MgTagBox controls below the toolbar in a styled .mg-grid-filter-panel container; toolbar Show/Hide 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, filter-panel toggle (visible only when the grid has a FilterPanel), 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).