Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member
Preventing a query from executing in the `beforequery` event is as simple as assigning an empty object `{}` to the `query` event argument.
This will result in the query not being sent, and the widget rendering in its "no results" mode.
widget.on('beforequery', function(ev, args) {
  args.query = {};
Version history
Last update:
‎03-02-2023 09:17 AM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: