Skip to main content
Version: v11.8.5

Using Search Widget within the Navbar


We will see how to configure the Search widget within the Navbar. We will create a list using the Employee data from sample hrdb and provide search functionality on the Employee's first name.

navbar_search_run2

  1. Create a page with and ‘blank’ template and ‘One column layout with top navbar’.
  2. Select mobile navbar and set the ‘Show Search button’ from the Properties Panel.

  1. Database Integration - add the sample HRDB into your project.
  2. Create a Database CRUD Variable with hrdb Database, Employee, Table and read Operation. (name it say, employeeList)

  1. From the Data tab of the above Variable, bind the firstname Filter Field to query option under the mobile_navbar Widget

6. Drag and drop a List Widget. Use Existing employeeList variable as the source of data. 7. Pick a template, pagination type and configure the respective data fields and click Done. We have used Action List as the template and Pager as the pagination. 8. Select Mobile navbar, and set ‘On search’ Event to invoke employeeList Live Variable

  1. Preview the project and on the employee list page, click the search button.

navbar_search_run1

  1. Now, filter employee ‘Chris’ by typing ‘chris’ in search text box. That’s how search widget on mobile navbar can be used.

navbar_search_run2

See Also

How to use search widget within leftnav