PivotGridExtension.BindToLINQ(String, String, EventHandler<LinqServerModeDataSourceSelectEventArgs>, EventHandler<ServerModeExceptionThrownEventArgs>) Method
In This Article
Binds the PivotGrid to a queryable source in database server mode.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
public PivotGridExtension BindToLINQ(
string contextTypeName,
string tableName,
EventHandler<LinqServerModeDataSourceSelectEventArgs> selectingMethod,
EventHandler<ServerModeExceptionThrownEventArgs> exceptionThrownMethod
)
#Parameters
Name | Type | Description |
---|---|---|
context |
String | A string representing the Data |
table |
String | A string specifying the table name. |
selecting |
Event |
|
exception |
Event |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
See Also