Skip to main content
A newer version of this page is available. .

DxGrid Methods

A component that displays data in tabular format and allows users to edit, sort, group, filter, and otherwise shape the data.
Name Description
BeginUpdate() Suspends Grid updates caused by parameter changes and method calls until the EndUpdate() method is called.
CancelEditAsync() Closes the edit form or row and discards changes.
ClearFilter() Clears the filter applied to grid data.
ClearSelection() Clears selection.
ClearSort() Clears sorting.
CollapseAllDetailRows() Collapses all detail rows.
CollapseAllGroupRows() Collapses all group rows.
CollapseDetailRow(Int32) Collapses the specified detail row.
CollapseGroupRow(Int32, Boolean) Collapses a group row with the specified visible index.
DeselectAllAsync() Deselects all rows in the grid.
DeselectAllOnPage() Deselects all rows on the current visible page.
DeselectDataItem(Object) Deselects a row that corresponds to the specified data item.
DeselectDataItems(IEnumerable<Object>) Deselects rows that correspond to the specified data items.
DeselectRow(Int32) Deselects a row with the specified visible index.
DeselectRows(IEnumerable<Int32>) Deselects rows with the specified visible indexes.
EndUpdate() Resumes Grid updates (when the BeginUpdate() method pauses updates) and re-renders the Grid.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExpandAllGroupRows() Expands all group rows.
ExpandDetailRow(Int32) Expands the specified detail row.
ExpandGroupRow(Int32, Boolean) Expands a group row with the specified visible index.
ExportToCsvAsync(Stream, GridCsvExportOptions) Exports grid data to a stream in CSV format.
ExportToCsvAsync(String, GridCsvExportOptions) Exports grid data in CSV format and downloads the resulting file to the client machine.
ExportToXlsAsync(Stream, GridXlExportOptions) Exports grid data to a stream in XLS format.
ExportToXlsAsync(String, GridXlExportOptions) Exports grid data in XLS format and downloads the resulting file to the client machine.
ExportToXlsxAsync(Stream, GridXlExportOptions) Exports grid data in XLSX format to a stream.
ExportToXlsxAsync(String, GridXlExportOptions) Exports grid data in XLSX format and downloads the resulting file to the client machine.
FilterBy(String, GridFilterRowOperatorType, Object) Filters grid data by the specified column value.
GetColumnEditSettings<T>(String) Returns editor settings of the column bound to the specified data source field.
GetColumns() Returns a collection of all grid columns.
GetDataColumns() Returns a data column collection.
GetDataItem(Int32) Gets a data source item that is bound to the processed row.
GetDataItemValue(Object, String) Returns the value of the specified field for the specified data item.
GetFieldFilterCriteria(String) Returns the filter criteria applied to the specified field of the bound data source.
GetFilterCriteria() Returns the filter criteria applied to the grid data.
GetFocusedDataItem() Returns a data item bound to the focused data row.
GetFocusedRowIndex() Returns the visible index of the focused row.
GetGroupCount() Gets the number of grouped columns.
GetGroupSummaryDisplayText(IGridSummaryItem, Int32) Gets a group summary item’s display text.
GetGroupSummaryFormattedValue(IGridSummaryItem, Int32) Gets a group summary item’s formatted value.
GetGroupSummaryItems() Gets the collection of group summary items.
GetGroupSummaryLabel(IGridSummaryItem, Int32) Gets the name of a group summary‘s function name.
GetGroupSummaryValue(IGridSummaryItem, Int32) Gets a group summary item’s value.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetPageCount() Returns the total number of pages in the Grid.
GetRowLevel(Int32) Gets the nesting level of the processed row.
GetRowValue(Int32, String) Gets the value of the data source field in the specified row.
GetSortedColumns() Gets the collection of sorted columns.
GetStartRowVisibleIndex() Gets the visible index of the first row on the current page.
GetTotalSummaryDisplayText(IGridSummaryItem) Gets a total summary item’s display text.
GetTotalSummaryFormattedValue(IGridSummaryItem) Gets a total summary item’s formatted value.
GetTotalSummaryItems() Gets the collection of total summary items.
GetTotalSummaryLabel(IGridSummaryItem) Gets the name of a total summary‘s function name.
GetTotalSummaryValue(IGridSummaryItem) Gets a total summary item’s value.
GetType() Gets the Type of the current instance. Inherited from Object.
GetVisibleColumns() Returns a collection of visible columns sorted based on their display order.
GetVisibleRowCount() Gets the total number of visible rows in the grid.
GroupBy(String, Int32) Groups data by values of the specified column and inserts the grouped column in the specified position between other grouped columns.
GroupBy(String) Groups data by values of the specified column.
IsDataItemFocused(Object) Identifies whether the row bound to the specified data item is focused.
IsDataItemSelected(Object) Returns whether the row that corresponds to the specified data item is selected.
IsDetailRowExpanded(Int32) Indicates whether the specified detail row is expanded.
IsEditing() Returns whether the Grid is currently being edited.
IsEditingNewRow() Returns whether a new Grid row is currently being edited.
IsEditingRow(Int32) Returns whether the specified Grid row is currently being edited.
IsGroupRow(Int32) Specifies whether the specified row is a group row.
IsGroupRowExpanded(Int32) Specifies whether the specified group row is expanded.
IsRowFocused(Int32) Identifies whether the row with the specified visible index is focused.
IsRowSelected(Int32) Returns whether the specified row is selected.
LoadLayout(GridPersistentLayout) Restores the DxGrid layout.
MakeDataItemVisibleAsync(Object) Makes the row bound to the specified data item visible on screen.
MakeRowVisible(Int32) Makes the row with the specified visible index visible on screen.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RefreshSummary() Refreshes all total and group summary values in the grid.
Reload() Reloads Grid data.
SaveChangesAsync() Saves changes made in the edit form or edit row.
SaveLayout() Saves information about the DxGrid‘s layout.
SelectAllAsync(Boolean) Selects or deselects all rows in the grid.
SelectAllOnPage(Boolean) Selects or deselects all rows on the current visible page.
SelectDataItem(Object, Boolean) Selects or deselects a row that corresponds to the specified data item.
SelectDataItems(IEnumerable<Object>, Boolean) Selects or deselects rows that correspond to the specified data items.
SelectRow(Int32, Boolean) Selects or deselects a row with the specified visible index.
SelectRows(IEnumerable<Int32>, Boolean) Selects or deselects rows with the specified visible indexes.
SetFieldFilterCriteria(String, CriteriaOperator) Applies a filter to the specified data field.
SetFilterCriteria(CriteriaOperator) Applies a filter to grid data.
SetFocusedDataItemAsync(Object) Moves focus to the row bound to the specified data item.
SetFocusedRowIndex(Int32) Moves focus to the row with the specified visible index.
ShowColumnChooser() Shows the Column Chooser in the center of the grid.
ShowColumnChooser(DialogDisplayOptions) Shows the Column Chooser and position it according to the specified display options.
ShowColumnChooser(String) Shows the Column Chooser below the specified target element.
ShowDataItemDeleteConfirmation(Object) Displays the delete confirmation dialog for the specified data item. If a user confirms the operation, the method raises the DataItemDeleting event.
ShowRowDeleteConfirmation(Int32) Displays the delete confirmation dialog for the specified row. If a user confirms the operation, the method raises the DataItemDeleting event.
SortBy(String, GridColumnSortOrder, Int32) Sorts data by column values in the specified order, and specifies the sorted column’s index.
SortBy(String, GridColumnSortOrder) Sorts data by column values in the specified order.
SortBy(String) Sorts data by the specified column values.
StartEditDataItemAsync(Object) Displays the edit form or edit row used to modify the specified data item.
StartEditNewRowAsync() Displays the edit form or edit row used to create a new data row.
StartEditRowAsync(Int32) Displays the edit form or edit row used to modify the specified row.
ToString() Returns a string that represents the current object. Inherited from Object.
WaitForDataLoadAsync() Returns a task that completes when pending asynchronous data load operations are completed.
WaitForInstantFeedbackRowLoadAsync(Int32) Returns a task that is completed when the specified row of an asynchronous Instant Feedback Data Source is loaded.
See Also