How to filter list view based on values in dropdown (K2 Smartform)

  • 11 July 2014
  • 4 replies
  • 11 views

Badge +1

 

 

I have a list view that I want to filter based on the value selected in dropdown list. I am applyin ga Rule on dropdown change event to execute smart object list method and passing the dropdown control value. But still the list view is not getting filtered.


4 replies

Badge +7

You could set a rule action that says if a value is a specified value, then do something.

Badge +1

But I am not able to figure out which rule?

Badge +7

"A View parameter has a specific value"

Badge +7

You can create a rule on the drop down control that updates the filter on the list control

 

When control is changed

the Execute a method on the view (sometimes this is getlist or something else)

When you configure the view method you have 3 screens, input, filter and output. Leave input blank but on the filter screen add a filter that the field in your view = the drop list control.

 

Now ever time you change the drop down list it will change the list of items in the view to match what is selected in the drop down.

 

 

Reply