AyCode.Blazor/AyCode.Blazor.Components/Components/Grids
Loretta 8e5b13e90c Add logger support to grids, data sources, and helpers
- Added optional logger to TaskHelper.Forget for fire-and-forget error logging
- Updated MgGridBase and data sources to accept and use logger instances
- Refactored AcSignalRDataSource to log deserialization faults
- Modified constructors and usages of SignalRDataSourceList/Observable for logger injection
- Added CountryCode to CargoTruck and displayed in new GridCargoTruck
- Introduced GridCargoTruck.razor and base class with logger integration
- Updated GridCargoPartner to use new cargo truck grid as detail row
- Improved code style and ensured consistent error handling throughout
2026-05-30 06:47:05 +02:00
..
GridEditMode.cs Refactor grid InfoPanel: sticky, responsive, new icons 2025-12-17 10:20:17 +01:00
MgGridBase.cs Add logger support to grids, data sources, and helpers 2026-05-30 06:47:05 +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 [LOADED_DOCS: 4 files, no new loads] 2026-04-24 21:54:03 +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.
  • 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).