DataGridBuilder<T> Class
A DataGrid control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public class DataGridBuilder<T> :
WidgetBuilder
Type Parameters
Name | Description |
---|---|
T | The data type. |
Related API Members
The following members return DataGridBuilder
- DataGridBuilder<T>.AccessKey(JS)
- DataGridBuilder<T>.AccessKey(String)
- DataGridBuilder<T>.ActiveStateEnabled(Boolean)
- DataGridBuilder<T>.ActiveStateEnabled(JS)
- DataGridBuilder<T>.AllowColumnReordering(Boolean)
- DataGridBuilder<T>.AllowColumnReordering(JS)
- DataGridBuilder<T>.AllowColumnResizing(Boolean)
- DataGridBuilder<T>.AllowColumnResizing(JS)
- DataGridBuilder<T>.AutoNavigateToFocusedRow(Boolean)
- DataGridBuilder<T>.AutoNavigateToFocusedRow(JS)
- DataGridBuilder<T>.CacheEnabled(Boolean)
- DataGridBuilder<T>.CacheEnabled(JS)
- DataGridBuilder<T>.CellHintEnabled(Boolean)
- DataGridBuilder<T>.CellHintEnabled(JS)
- DataGridBuilder<T>.ColumnAutoWidth(Boolean)
- DataGridBuilder<T>.ColumnAutoWidth(JS)
- DataGridBuilder<T>.ColumnChooser(Action<DataGridColumnChooserBuilder>)
- DataGridBuilder<T>.ColumnFixing(Action<DataGridColumnFixingBuilder>)
- DataGridBuilder<T>.ColumnHidingEnabled(Boolean)
- DataGridBuilder<T>.ColumnHidingEnabled(JS)
- DataGridBuilder<T>.ColumnMinWidth(Double)
- DataGridBuilder<T>.ColumnMinWidth(JS)
- DataGridBuilder<T>.ColumnResizingMode(ColumnResizingMode)
- DataGridBuilder<T>.Columns(Action<CollectionFactory<DataGridColumnBuilder<T>>>)
- DataGridBuilder<T>.Columns(IEnumerable<String>)
- DataGridBuilder<T>.Columns(JS)
- DataGridBuilder<T>.ColumnWidth(Double)
- DataGridBuilder<T>.ColumnWidth(JS)
- DataGridBuilder<T>.ColumnWidth(Mode)
- DataGridBuilder<T>.CustomizeColumns(RazorBlock)
- DataGridBuilder<T>.CustomizeColumns(String)
- DataGridBuilder<T>.DataRowTemplate(JS)
- DataGridBuilder<T>.DataRowTemplate(RazorBlock)
- DataGridBuilder<T>.DataRowTemplate(String)
- DataGridBuilder<T>.DataRowTemplate(TemplateName)
- DataGridBuilder<T>.DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>)
- DataGridBuilder<T>.DataSource(IEnumerable, String[])
- DataGridBuilder<T>.DataSource(JS)
- DataGridBuilder<T>.DataSource(String, String[])
- DataGridBuilder<T>.DataSourceOptions(Action<DataSourceOptionsBuilder>)
- DataGridBuilder<T>.DateSerializationFormat(JS)
- DataGridBuilder<T>.DateSerializationFormat(String)
- DataGridBuilder<T>.Disabled(Boolean)
- DataGridBuilder<T>.Disabled(JS)
- DataGridBuilder<T>.Editing(Action<DataGridEditingBuilder<T>>)
- DataGridBuilder<T>.ElementAttr(Dictionary<String, Object>)
- DataGridBuilder<T>.ElementAttr(JS)
- DataGridBuilder<T>.ElementAttr(Object)
- DataGridBuilder<T>.ElementAttr(String, Object)
- DataGridBuilder<T>.ErrorRowEnabled(Boolean)
- DataGridBuilder<T>.ErrorRowEnabled(JS)
- DataGridBuilder<T>.Export(Action<DataGridExportBuilder>)
- DataGridBuilder<T>.FilterBuilder(Action<FilterBuilderBuilder<T>>)
- DataGridBuilder<T>.FilterBuilderPopup(Action<PopupBuilder>)
- DataGridBuilder<T>.FilterPanel(Action<DataGridFilterPanelBuilder>)
- DataGridBuilder<T>.FilterRow(Action<DataGridFilterRowBuilder>)
- DataGridBuilder<T>.FilterSyncEnabled(Boolean)
- DataGridBuilder<T>.FilterSyncEnabled(JS)
- DataGridBuilder<T>.FilterSyncEnabled(Mode)
- DataGridBuilder<T>.FilterValue(Object)
- DataGridBuilder<T>.FilterValue(String)
- DataGridBuilder<T>.FocusedColumnIndex(Int32)
- DataGridBuilder<T>.FocusedColumnIndex(JS)
- DataGridBuilder<T>.FocusedRowEnabled(Boolean)
- DataGridBuilder<T>.FocusedRowEnabled(JS)
- DataGridBuilder<T>.FocusedRowIndex(Int32)
- DataGridBuilder<T>.FocusedRowIndex(JS)
- DataGridBuilder<T>.FocusedRowKey(Object)
- DataGridBuilder<T>.Grouping(Action<DataGridGroupingBuilder>)
- DataGridBuilder<T>.GroupPanel(Action<DataGridGroupPanelBuilder>)
- DataGridBuilder<T>.HeaderFilter(Action<DataGridHeaderFilterBuilder>)
- DataGridBuilder<T>.Height(Double)
- DataGridBuilder<T>.Height(JS)
- DataGridBuilder<T>.Height(String)
- DataGridBuilder<T>.HighlightChanges(Boolean)
- DataGridBuilder<T>.HighlightChanges(JS)
- DataGridBuilder<T>.Hint(JS)
- DataGridBuilder<T>.Hint(String)
- DataGridBuilder<T>.HoverStateEnabled(Boolean)
- DataGridBuilder<T>.HoverStateEnabled(JS)
- DataGridBuilder<T>.ID(JS)
- DataGridBuilder<T>.ID(String)
- DataGridBuilder<T>.KeyboardNavigation(Action<DataGridKeyboardNavigationBuilder>)
- DataGridBuilder<T>.KeyExpr(IEnumerable<String>)
- DataGridBuilder<T>.KeyExpr(JS)
- DataGridBuilder<T>.KeyExpr(String)
- DataGridBuilder<T>.LoadPanel(Action<DataGridLoadPanelBuilder>)
- DataGridBuilder<T>.MasterDetail(Action<DataGridMasterDetailBuilder>)
- DataGridBuilder<T>.NoDataText(JS)
- DataGridBuilder<T>.NoDataText(String)
- DataGridBuilder<T>.OnAdaptiveDetailRowPreparing(RazorBlock)
- DataGridBuilder<T>.OnAdaptiveDetailRowPreparing(String)
- DataGridBuilder<T>.OnCellClick(RazorBlock)
- DataGridBuilder<T>.OnCellClick(String)
- DataGridBuilder<T>.OnCellDblClick(RazorBlock)
- DataGridBuilder<T>.OnCellDblClick(String)
- DataGridBuilder<T>.OnCellHoverChanged(RazorBlock)
- DataGridBuilder<T>.OnCellHoverChanged(String)
- DataGridBuilder<T>.OnCellPrepared(RazorBlock)
- DataGridBuilder<T>.OnCellPrepared(String)
- DataGridBuilder<T>.OnContentReady(RazorBlock)
- DataGridBuilder<T>.OnContentReady(String)
- DataGridBuilder<T>.OnContextMenuPreparing(RazorBlock)
- DataGridBuilder<T>.OnContextMenuPreparing(String)
- DataGridBuilder<T>.OnDataErrorOccurred(RazorBlock)
- DataGridBuilder<T>.OnDataErrorOccurred(String)
- DataGridBuilder<T>.OnDisposing(RazorBlock)
- DataGridBuilder<T>.OnDisposing(String)
- DataGridBuilder<T>.OnEditCanceled(RazorBlock)
- DataGridBuilder<T>.OnEditCanceled(String)
- DataGridBuilder<T>.OnEditCanceling(RazorBlock)
- DataGridBuilder<T>.OnEditCanceling(String)
- DataGridBuilder<T>.OnEditingStart(RazorBlock)
- DataGridBuilder<T>.OnEditingStart(String)
- DataGridBuilder<T>.OnEditorPrepared(RazorBlock)
- DataGridBuilder<T>.OnEditorPrepared(String)
- DataGridBuilder<T>.OnEditorPreparing(RazorBlock)
- DataGridBuilder<T>.OnEditorPreparing(String)
- DataGridBuilder<T>.OnExporting(RazorBlock)
- DataGridBuilder<T>.OnExporting(String)
- DataGridBuilder<T>.OnFocusedCellChanged(RazorBlock)
- DataGridBuilder<T>.OnFocusedCellChanged(String)
- DataGridBuilder<T>.OnFocusedCellChanging(RazorBlock)
- DataGridBuilder<T>.OnFocusedCellChanging(String)
- DataGridBuilder<T>.OnFocusedRowChanged(RazorBlock)
- DataGridBuilder<T>.OnFocusedRowChanged(String)
- DataGridBuilder<T>.OnFocusedRowChanging(RazorBlock)
- DataGridBuilder<T>.OnFocusedRowChanging(String)
- DataGridBuilder<T>.OnInitialized(RazorBlock)
- DataGridBuilder<T>.OnInitialized(String)
- DataGridBuilder<T>.OnInitNewRow(RazorBlock)
- DataGridBuilder<T>.OnInitNewRow(String)
- DataGridBuilder<T>.OnKeyDown(RazorBlock)
- DataGridBuilder<T>.OnKeyDown(String)
- DataGridBuilder<T>.OnOptionChanged(RazorBlock)
- DataGridBuilder<T>.OnOptionChanged(String)
- DataGridBuilder<T>.OnRowClick(RazorBlock)
- DataGridBuilder<T>.OnRowClick(String)
- DataGridBuilder<T>.OnRowCollapsed(RazorBlock)
- DataGridBuilder<T>.OnRowCollapsed(String)
- DataGridBuilder<T>.OnRowCollapsing(RazorBlock)
- DataGridBuilder<T>.OnRowCollapsing(String)
- DataGridBuilder<T>.OnRowDblClick(RazorBlock)
- DataGridBuilder<T>.OnRowDblClick(String)
- DataGridBuilder<T>.OnRowExpanded(RazorBlock)
- DataGridBuilder<T>.OnRowExpanded(String)
- DataGridBuilder<T>.OnRowExpanding(RazorBlock)
- DataGridBuilder<T>.OnRowExpanding(String)
- DataGridBuilder<T>.OnRowInserted(RazorBlock)
- DataGridBuilder<T>.OnRowInserted(String)
- DataGridBuilder<T>.OnRowInserting(RazorBlock)
- DataGridBuilder<T>.OnRowInserting(String)
- DataGridBuilder<T>.OnRowPrepared(RazorBlock)
- DataGridBuilder<T>.OnRowPrepared(String)
- DataGridBuilder<T>.OnRowRemoved(RazorBlock)
- DataGridBuilder<T>.OnRowRemoved(String)
- DataGridBuilder<T>.OnRowRemoving(RazorBlock)
- DataGridBuilder<T>.OnRowRemoving(String)
- DataGridBuilder<T>.OnRowUpdated(RazorBlock)
- DataGridBuilder<T>.OnRowUpdated(String)
- DataGridBuilder<T>.OnRowUpdating(RazorBlock)
- DataGridBuilder<T>.OnRowUpdating(String)
- DataGridBuilder<T>.OnRowValidating(RazorBlock)
- DataGridBuilder<T>.OnRowValidating(String)
- DataGridBuilder<T>.OnSaved(RazorBlock)
- DataGridBuilder<T>.OnSaved(String)
- DataGridBuilder<T>.OnSaving(RazorBlock)
- DataGridBuilder<T>.OnSaving(String)
- DataGridBuilder<T>.OnSelectionChanged(RazorBlock)
- DataGridBuilder<T>.OnSelectionChanged(String)
- DataGridBuilder<T>.OnToolbarPreparing(RazorBlock)
- DataGridBuilder<T>.OnToolbarPreparing(String)
- DataGridBuilder<T>.Option(String, Object)
- DataGridBuilder<T>.Pager(Action<GridPagerBuilder>)
- DataGridBuilder<T>.Paging(Action<DataGridPagingBuilder>)
- DataGridBuilder<T>.RemoteOperations(Action<DataGridRemoteOperationsBuilder>)
- DataGridBuilder<T>.RemoteOperations(Boolean)
- DataGridBuilder<T>.RemoteOperations(JS)
- DataGridBuilder<T>.RemoteOperations(Mode)
- DataGridBuilder<T>.RenderAsync(Boolean)
- DataGridBuilder<T>.RenderAsync(JS)
- DataGridBuilder<T>.RepaintChangesOnly(Boolean)
- DataGridBuilder<T>.RepaintChangesOnly(JS)
- DataGridBuilder<T>.RowAlternationEnabled(Boolean)
- DataGridBuilder<T>.RowAlternationEnabled(JS)
- DataGridBuilder<T>.RowDragging(Action<DataGridRowDraggingBuilder>)
- DataGridBuilder<T>.RtlEnabled(Boolean)
- DataGridBuilder<T>.RtlEnabled(JS)
- DataGridBuilder<T>.Scrolling(Action<DataGridScrollingBuilder>)
- DataGridBuilder<T>.SearchPanel(Action<DataGridSearchPanelBuilder>)
- DataGridBuilder<T>.SelectedRowKeys(IEnumerable)
- DataGridBuilder<T>.SelectedRowKeys(JS)
- DataGridBuilder<T>.Selection(Action<DataGridSelectionBuilder>)
- DataGridBuilder<T>.SelectionFilter(Object)
- DataGridBuilder<T>.SelectionFilter(String)
- DataGridBuilder<T>.ShowBorders(Boolean)
- DataGridBuilder<T>.ShowBorders(JS)
- DataGridBuilder<T>.ShowColumnHeaders(Boolean)
- DataGridBuilder<T>.ShowColumnHeaders(JS)
- DataGridBuilder<T>.ShowColumnLines(Boolean)
- DataGridBuilder<T>.ShowColumnLines(JS)
- DataGridBuilder<T>.ShowRowLines(Boolean)
- DataGridBuilder<T>.ShowRowLines(JS)
- DataGridBuilder<T>.SortByGroupSummaryInfo(Action<CollectionFactory<DataGridSortByGroupSummaryInfoBuilder>>)
- DataGridBuilder<T>.Sorting(Action<DataGridSortingBuilder>)
- DataGridBuilder<T>.StateStoring(Action<DataGridStateStoringBuilder>)
- DataGridBuilder<T>.Summary(Action<DataGridSummaryBuilder<T>>)
- DataGridBuilder<T>.SyncLookupFilterValues(Boolean)
- DataGridBuilder<T>.SyncLookupFilterValues(JS)
- DataGridBuilder<T>.TabIndex(Int32)
- DataGridBuilder<T>.TabIndex(JS)
- DataGridBuilder<T>.Toolbar(Action<DataGridToolbarBuilder>)
- DataGridBuilder<T>.TwoWayBindingEnabled(Boolean)
- DataGridBuilder<T>.TwoWayBindingEnabled(JS)
- DataGridBuilder<T>.Visible(Boolean)
- DataGridBuilder<T>.Visible(JS)
- DataGridBuilder<T>.Width(Double)
- DataGridBuilder<T>.Width(JS)
- DataGridBuilder<T>.Width(String)
- DataGridBuilder<T>.WordWrapEnabled(Boolean)
- DataGridBuilder<T>.WordWrapEnabled(JS)
Remarks
Call the DataGrid helper method to create a new DataGrid control. The method creates a DataGridBuilder<T>
class instance whose members allow you to specify control options.
@(Html.DevExtreme().DataGrid() // create a DataGrid
// call methods to specify control options
)
To create a strongly-typed DataGrid, specify a data model in the DataGrid<T> method as a type parameter.
@(Html.DevExtreme().DataGrid<SampleModel>() // create a strongly-typed DataGrid
// call methods to specify control options
)
Inheritance
Object
OptionsOwnerBuilder
WidgetBuilder
DataGridBuilder<T>
See Also