AyCode.Blazor/AyCode.Blazor.Components/Components/Grids
Loretta b06d321bfb Refactor grid filter panel system for clarity/extensibility
Refactored the grid filter panel system:
- Renamed "quick-filter panel" to "filter panel" throughout.
- Introduced IMgGridFilterPanelComponent interface for filter panel contract.
- Split MgTagBox (now behavior-free) and new MgGridFilterPanelTagBox for grid filter logic.
- Grid tracks filter panel components, synchronizes criteria, and exposes new filter panel methods.
- Filter panel always rendered (CSS-hidden when off) to prevent invisible filtering.
- Added right-aligned "Clear Filters" button for panel-owned filters.
- Updated docs, parameter tables, and glossary for new terminology and structure.
- Updated usages to new component; legacy grid class implements no-op interface.
- Documented edge cases and updated CSS for new layout.
2026-07-17 05:34:01 +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 Refactor grid filter panel system for clarity/extensibility 2026-07-17 05:34:01 +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).