QueryBuilderHtmlContentBuilder.Bind(QueryBuilderModel) Method
Passes the specified model to the Web Query Builder.
Namespace: DevExpress.AspNetCore.Reporting.QueryBuilder
Assembly: DevExpress.AspNetCore.Reporting.v24.1.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
Parameters
Name | Type | Description |
---|---|---|
model | QueryBuilderModel | The model to be passed to the Query Builder. |
Returns
Type | Description |
---|---|
QueryBuilderHtmlContentBuilder | A QueryBuilderHtmlContentBuilder instance for use in method chaining. |
Remarks
Use the IQueryBuilderClientSideModelGenerator.GetModel method to create a model in the controller and pass it to the Bind method:
@model DevExpress.XtraReports.Web.QueryBuilder.QueryBuilderModel
// ...
@(Html.DevExpress()
.QueryBuilder("webQueryBuilder")
.Height("400px")
.Bind(Model))
The complete sample project is available in the following DevExpress Examples repository on GitHub:
See Also