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. |
||
|---|---|---|
| .. | ||
| CardViews | ||
| Grids | ||
| AcButton.cs | ||
| AcComboBox.cs | ||
| AcComponentBase.cs | ||
| AcDxDateEdit.cs | ||
| AcFormLayoutItem.cs | ||
| AcMaskedInput.cs | ||
| AcMemo.cs | ||
| AcSpinEdit.cs | ||
| AcTextBox.cs | ||
| MgComponentsHelper.cs | ||
| MgLazyLoadContent.razor | ||
| MgTagBox.cs | ||
| README.md | ||
README.md
Components
DevExpress component wrappers and grid infrastructure for the AyCode Blazor component library. Each wrapper class extends a DevExpress Blazor control to allow project-wide customization from a single point (Mg* = current prefix; Ac* = legacy prefix, kept as-is).
Key Files
AcComponentBase.cs-- Abstract base class extendingDxComponentBase.AcButton.cs-- ExtendsDxButton.AcTextBox.cs-- ExtendsDxTextBox.AcComboBox.cs-- Generic wrapper forDxComboBox<TData, TValue>.AcDxDateEdit.cs-- Generic wrapper forDxDateEdit<T>.AcFormLayoutItem.cs-- ExtendsDxFormLayoutItem.AcMaskedInput.cs-- Generic wrapper forDxMaskedInput<T>.AcMemo.cs-- ExtendsDxMemo.AcSpinEdit.cs-- Generic wrapper forDxSpinEdit<T>.MgTagBox.cs-- Generic wrapper forDxTagBox<TData, TValue>with grid quick-filter support: aFieldNameparameter + the grid cascade let a selection apply a per-fieldINfilter viaIMgGridBase.SetFieldQuickFilter(seeGrids/anddocs/MGGRID/MGGRID_PARAMETERS.md→ Quick-Filter Panel).MgComponentsHelper.cs-- Placeholder helper class (currently empty).
Subfolders
CardViews/-- Generic card-based view component with pagination.Grids/-- Core grid system with SignalR data binding, toolbar, info panel, and layout persistence.