このイベントはキャンセルできます。
Me.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.DataFiltering = "WDG1_DataFiltering"
this.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.DataFiltering = "WDG1_DataFiltering";
// The client event DataFiltering takes two parameters sender and e // sender is the object which is raising the event // e is the CancelApplyFiltersEventArgs function WDG1_DataFiltering(sender, e) { //Gets the column filters array which will be used to filter the data in the grid var columnFilters = e.get_columnFilters(); //Gets the column key var key = columnFilters[0].get_columnKey(); if (!confirm("Are you sure you want to continue with filtering the column '" + key + "'?")) //Cancels the 'DataFiltering' event e.set_cancel(true); }