JavaScript

canClearSearch

Description

Fires when the user tries to clear the search criteria in the Search Part. If the event returns false, the clear action will be cancelled.

Discussion

The canClearSearch event can be used to prevent the user from clearing the Search criteria.

To prevent the user from clearing the Search criteria, the event can return false. For example:

return false;