Skip to main content

Filtering of Data with String or Number Comparison

In this video you will understand how to filter and display the data in Data Table or Data Group on the basis of comparison of data with some fixed string or number.

1. Creating a Condition

To create a data filter with some condition go to your collection. In Configuration choose Constants. Here specify the condition or the string on the basis of which data will be filtered. then hit the Create button.

DrapCode Builder Collection Constructor

2. Create a Filter

Then go to the Filters option and mention the filter. You can add a Condition for your filter too. Then Save and click the Create Filter option.

DrapCode Builder Collection Constructor

3. Display the Filtered Data

To display the filtered data you can drop either a Data Table or a Data Group from the Components section. Then in the form that appears mention from where the table or the group can fetch data from, the collection name and as per what filter. Then save your settings.

DrapCode Builder Collection Constructor

4. Preview the Data

Now click the Preview icon to view the final data as per the defined filters.

DrapCode Builder Collection Constructor