Skip to main content

DataGridBuilder<T> Class

A DataGrid control.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll


public class DataGridBuilder<T> :

Type Parameters

Name Description

The data type.

The following members return DataGridBuilder objects:

Show 221 links


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


See Also