QueryBuilderClientSideEventsBuilder.CustomizeMenuActions(String) Method
Specifies the JavaScript handler function for the CustomizeMenuActions client-side event.
Namespace: DevExpress.AspNetCore.Reporting.QueryBuilder
Assembly: DevExpress.AspNetCore.Reporting.v24.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
Parameters
Name | Type | Description |
---|---|---|
callback | String | The name of a JavaScript function or the entire JavaScript function code that handles the CustomizeMenuActions event. |
Returns
Type | Description |
---|---|
QueryBuilderClientSideEventsBuilder | A QueryBuilderClientSideEventsBuilder that can be used to further configure the Query Builder client-side events. |
Remarks
The following code demonstrates how to hide the Save action in the Web Query Builder toolbar:
@{ var queryBuilder = Html.DevExpress().QueryBuilder("webQueryBuilder")
.Height("400px")
.Bind(Model)
.ClientSideEvents(configure =>
{ configure.CustomizeMenuActions("customizeMenuActions"); }); ; }
@queryBuilder
See Also