QueryBuilderClientSideEventsBuilder Class
Use the class methods to specify handlers for the Web Query Builder‘s client-side events.
Namespace: DevExpress.AspNetCore.Reporting.QueryBuilder
Assembly: DevExpress.AspNetCore.Reporting.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
Remarks
The QueryBuilderClientSideEventsBuilder class exposes methods whose names resemble client-side events of the Web Query Builder. Use method’s parameter to pass an event handler.
To use the QueryBuilderClientSideEventsBuilder methods, call the QueryBuilderHtmlContentBuilder.ClientSideEvents method that returns the QueryBuilderClientSideEventsBuilder instance.
The following code demonstrates how to handle the Web Query Builder’s CustomizeMenuActions client-side event:
@{ var queryBuilder = Html.DevExpress().QueryBuilder("webQueryBuilder")
.Height("400px")
.Bind(Model)
.ClientSideEvents(configure =>
{ configure.CustomizeMenuActions("customizeMenuActions"); }); ; }
@queryBuilder