AddItemOnTop | bool? | Gets or sets if the add line is shown on top or not |
AllowCancellation | bool | Get or set the cancellation behaviour of the LgLoaderView |
Columns | RenderFragment<TItem> | Columns content |
ConfigureExportColumn | Action<GridViewConfigureExportColumnEventArgs> | Export event |
ControllerQueryArg | object | Gets or sets remote data complementary class |
ControllerUri | string | Gets or sets remote data url |
CurrentPage | int | Gets or sets current page |
CurrentPageChanged | EventCallback<int> | Gets or sets current page binding event |
DataErrorTitle | string | Gets or sets the title of the error message if loading fails. |
DefaultGroupCollapsed | bool | Gets or sets if groups are collapsed by default |
DefaultPageSize | int? | Gets or sets the default number of the row by page when the paging feature is activated. |
DefaultShowFilters | bool? | Gets or sets if the filters are initially visible. When defined, it overrides the initial value of ShowFilters. A profile holding a filter always shows the filters. |
DisplayDefaultTooltipHeader | bool? | Force the display of tooltips on the current Gridview headers |
DisplayInputPageSelector | bool? | Gets or sets if the input page selector is shown |
DisplaySuccessSaveMessage | bool? | Gets or sets if the success message is shown when cell is edited |
EditMode | GridEditMode | Gets or sets editing mode |
EditRefreshMode | GridEventRefreshMode | Gets or sets refresh after editing |
EditingState | GridViewEditingState | Gets the add or edit state |
EditingStateChanged | EventCallback<GridViewEditingState> | Gets the add or edit state event |
ExportCulture | string | Get or set the culture name used for export (will be used for numeric format in CSV for example) |
ExportFileName | string | Gets or sets the name of the export file |
ExportOptionsContent | RenderFragment<ExportOptionsContext> | Gets or sets the content to be rendered within the export options. |
Exportable | bool? | Gets or sets the export activation |
Features | GridFeature | Define allowed options |
GridStyleType | GridStyleType | Define grid style |
GridViewDataCounter | GridViewDataCounter | Gets count of displayed rows |
GridViewDataCounterChanged | EventCallback<GridViewDataCounter> | Gets or sets event for binding count |
GroupBy | string | Gets or sets fields names for the grouping Separator is , |
GroupHeaderContent | RenderFragment<GridGroupData<TItem>> | Gets or sets group header content |
HiddenExportList | string | Gets or sets the list of provider IDs (separated by commas) to hide from the user. Example : "xlsx,csv" |
ItemModel | TItem | Instance of TItem used to build columns structure. |
Items | ICollection<TItem> | Gets or sets list of the data |
KeyField | string | Gets or sets the name of the property identifying an item: the key of the selection and of the row reload (GridEventRefreshMode.ReloadRow). Selected items are compared on this property, so the selection survives a reload of the items, and a reloaded row is found again from its value. |
LayoutMode | GridLayoutMode | Gets or sets Auto resize column at startup. |
MaxSortedColumns | int? | Gets or sets the maximum number of columns sorted at the same time. When the user sorts one more column, the lowest priority sort is removed. 0 means no limit. If undefined, the GridViewBehaviour.Options.MaxSortedColumns value is used (4 by default). |
NewItem | Func<TItem> | Method called to create a new item when adding a new line. |
NewItemAsync | Func<Task<TItem>> | Asynchronous method called to create a new item when adding a new line. |
NoDataDescription | string | Gets or sets the message desccription if no data is returned. |
NoDataTitle | string | Gets or sets the message title if no data is returned. |
OnAfterAdd | EventCallback<GridViewAfterActionEventArgs<TItem>> | After add data event |
OnAfterDelete | EventCallback<GridViewAfterActionEventArgs<TItem>> | After delete data event |
OnAfterUpdate | EventCallback<GridViewAfterActionEventArgs<TItem>> | After update data event |
OnCellClick | EventCallback<GridViewCellClickEventArgs<TItem>> | Cell click event |
OnCellValueChanged | EventCallback<GridViewCellValueChangedEventArgs<TItem>> | Called after a cell value was changed in the GridEditMode.Cell edit mode, whether it is valid or not, after the saving of a valid value. The handler can declare the linked items to validate again with GridViewCellValueChangedEventArgs{TItem}.RevalidateItems(Func{TItem, bool}). |
OnCommandClick | EventCallback<GridViewCommandClickEventArgs<TItem>> | Command click event |
OnDelete | EventCallback<GridViewSelectionActionEventArgs<TItem>> | Delete selected item(s) event |
OnExport | EventCallback<GridViewExportEventArgs> | Export event |
OnFilterChanged | EventCallback<GridViewFilterChangedEventArgs> | Gets or sets event indicate filters has changed |
OnLoadExportProviders | Action<ExportProviderManager> | Method called to initialise the export providers. |
OnProfileLoadingAsync | Func<GridViewProfileLoadingEventArgs, Task> | Gets or sets the callback raised just before a profile is applied to the grid (initialization, selection by the user, default profile after the removal of the current one): it can exclude profile elements from the loading and choose whether the excluded elements keep their current state or get their default value. If it throws, the exception is shown and the whole profile is loaded. |
OnRowSelection | EventCallback<GridViewSelectionEventArgs<TItem>> | Gets or sets event rised when selection has changed |
OnRowStateChanged | EventCallback<GridViewRowStateChangedEventArgs<TItem>> | Row state change event |
OnRowUpdate | EventCallback<GridViewItemActionEventArgs<TItem>> | Row update data event |
OnSortChanged | EventCallback<GridViewSortEventArgs> | Gets or sets the event raised when the user changes the sort (column header) or when a profile is applied. Not raised by the initial load. |
OnValueAdd | EventCallback<GridViewItemActionEventArgs<TItem>> | Add data event |
OnValueChangingAsync | Func<GridViewValueChangingEventArgs<TItem>, Task> | Called when a cell value is changing. |
PagerOnTop | bool? | Gets or sets if the pager is shown on top or not |
PaginationButtonCount | int | Gets or sets number of pagination buttons |
PaginationSizeSelector | int[] | Gets or sets the allowed number of the row by page when the paging feature is activated. |
ProfileFeatures | GridFeature? | Gets or sets the elements saved in and loaded from the profiles: GridFeature.Filter, GridFeature.Sort, GridFeature.Move (column order), GridFeature.Visibility, GridFeature.Freeze, GridFeature.Resize (column width), GridFeature.Group and GridFeature.Paging (page size); the other flags are ignored. GridFeature.Move and GridFeature.Freeze go together (the frozen columns are the first ones of the column order): excluding one excludes the other. Unlike Features, an excluded element stays available to the user: it's left out of the profiles and, when a profile is loaded, keeps its current state (unless OnProfileLoadingAsync asks for the default value). If undefined, the GridViewBehaviour.Options.ProfileFeatures value is used (all the elements by default). |
ProfileId | string | Gets or sets gridview profile Id. |
ProfileSaveMode | GridViewProfileSave? | Gets or sets profile save mode |
RowCanEditSelector | Func<TItem, bool> | Gets or sets a selector deciding whether a whole row can be edited, from its bound item. A row for which the selector returns false cannot enter edit mode; combine with the column LgGridBaseColumn{TItem}.CanEditSelector for per-column control. null means every row can be edited. |
RowCssClassSelector | Func<int, TItem, string> | Gets or sets the row CSS class selector callback. |
SelectableRows | bool | Gets or sets weither rows are selectable or not (Default is false) |
Selection | ICollection<TItem> | Gets or sets list of the selected items |
SharedProfileAdministratorPolicy | string | Policy required to add and edit shared profile |
SharedProfileFilter | GridViewSharedProfileFilter | Manage shared profile access |
ShowFilters | bool | Gets or sets if the filters are visible (two-way binding). Hiding the filters clears them. |
ShowFiltersChanged | EventCallback<bool> | Gets or sets the event raised when the filters visibility changes (two-way binding of ShowFilters). |
ShowFiltersSummary | bool? | Gets or sets the show filters summary activation |
StateId | string | Gets or sets unique identifiant to keep grid state. |
StorageMode | GridViewProfileStorage? | Profile storage |
ToolbarSelection | RenderFragment | Gets or sets the additionnal actions for the toolbar (bottom) |
Virtualize | bool? | Gets or sets if the body rows are virtualized (only the visible rows are rendered). If undefined, the GridViewBehaviour.Options.Virtualize value is used. Not applied when the grid uses grouping. |
VirtualizeItemSize | float? | Gets or sets the estimated height (in pixels) of a row used by the virtualization. If undefined, the GridViewBehaviour.Options.VirtualizeItemSize value is used. |
VisibleExportList | string | Gets or sets the list of provider IDs (separated by commas) that are disabled by default and should be enabled. Example : "xlsx,csv" |
WrapContent | bool | Gets or sets wrapping of the content. (Default is false) |