Modifying Query Behavior
When you define the view criteria in a view object, you specify the attributes and conjunctions that form the query statement and serve as a basis for the query search form. You can also specify some of the default properties of the search form after it has been dropped onto the page. These properties include setting the basic/advanced mode, automatic query execution, and search criteria field rendering.
After the query search form is created, you can set other properties such as setting the id of the results table or component. For example, to hide the Basic/Advanced toggle button, you can set the ModeChangeVisible field to false.
Additionally, you can add a Cancel button to the footer facet of the query search form and use it to call code in the business or model layer that would cancel a long-running query.