AyCode.Blazor/AyCode.Blazor.Components/Components/Grids
Loretta 2d62fad300 Add quick-filter panel slot to MgGridBase
Introduced a flexible quick-filter panel to the grid system via a new FilterPanel slot in MgGridBase. Added interface and implementation for filter panel visibility and toggle logic. Updated toolbar to show a Show/Hide Filters button when applicable. MgTagBox now applies per-field quick-filters using SetFieldQuickFilter. Removed redundant MgGridFilterPanelBase. Updated documentation and ADR 0004 to cover the new feature. Added CSS for consistent filter panel styling and demonstrated usage in GridPartner.razor. Legacy MgGridBase updated for compatibility.
2026-07-16 06:28:55 +02:00
..
GridEditMode.cs Refactor grid InfoPanel: sticky, responsive, new icons 2025-12-17 10:20:17 +01:00
MgGridBase.cs Add quick-filter panel slot to MgGridBase 2026-07-16 06:28:55 +02:00
MgGridDataColumn.cs InfoPanel: custom edit templates & null edit model fix 2026-07-12 08:36:20 +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 Add quick-filter panel slot to MgGridBase 2026-07-16 06:28:55 +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 above the grid 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).