- As you type characters in the text box, the table automatically shows records whose product names contain those characters.
5. Event -Based Query setup
- Now, let's say you want the filtered records to appear only after the button is clicked.
- To do this, first change the query type to Event.II. Add a custom button named “Stock Details” on the Create Page of Orders Module.
- Navigate to Setup → Customization → Modules and Fields.
- Select the Orders module, open the Buttons tab, and click Create New Button.
- Enter the button name, add the SlyteUI component name, and configure the required details as illustrated below.

- Next, click the
Search button and select
Actions in the right pane. Add a new event with the following details and click
Done.
- Now switch to Run mode.
- You can see that the table displays search results only after the button is clicked, rather than every time you type in the text box.
- Click Save as Draft to save your changes.
- Click Publish to make the component available for use in Zoho CRM pages.
Note:
Only published components can be linked to Zoho CRM pages.
II. Add a custom button named “Stock Details” on the Create Page of Orders Module.
- Navigate to Setup → Customization → Modules and Fields.
- Select the Orders module, open the Buttons tab, and click Create New Button.
- Enter the button name, add the SlyteUI component name, and configure the required details as illustrated below.
Here is how the final implementation works.