cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Using the checkbox widget to query the results of a datatable

tcarroll
1-Newbie

Using the checkbox widget to query the results of a datatable

I am looking for ways to filter out a data table using checkbox widgets.

For example:

I have a data table that includes information from partners and internal. I want to have two check boxes where if you click the check box "Internal" the data table will update to only show the information regarding the internal list.

Is it possible to have this kind of functionality through a check box widget or any other widget for that matter?

2 REPLIES 2

How is your data table constructed? Is there a field or a tag that defines whether the row is from partners or internal?

Checkbox widget has the event Changed and the property State. You could bind these to a custom service where you do some comparison (if checkbox is checked) and call the data table’s built-in QueryDataTableEntries service where you pass in a query of your own.

mlähde
3-Visitor
(To:mlähde)

This is how your service might look (didn’t test):

snip.png

For building the query, see the snippet Create query for DataTable.

Top Tags