Skip to main content

ASPxClientGridView.SetFilterEnabled(isFilterEnabled) Method

Enables or disables the current filter.

#Declaration

TypeScript
SetFilterEnabled(
    isFilterEnabled: boolean
): void

#Parameters

Name Type Description
isFilterEnabled boolean

true to enable the current filter; otherwise, false.

#Remarks

Use the SetFilterEnabled method to temporarily disable and enable the current filter in code. End-users can do this by toggling the filter button as shown in the image below:

FIlterBoxEnabled

To disable/enable the current filter on the server, use the ASPxGridBase.FilterEnabled property.

See Also