Angular JS Multiselect Dropdown Filter Not working

principp1
Kilo Explorer

Angular JS Multiselect Dropdown Filter Not working

 

Hi Community,

 

I have built the  simple list with with two drop downs, for example category drop down and subcategory dropdown. When you select the value from category i.e software then only the records containing the software category will be displayed. And when you select Email subcategory only the records containing this two values will be displayed. 

The requirement has changed and now I should have the ability to select multiple values from category  i.e software and database from  the same column. Upon this selection data in a table should  be displayed containing only software and database.

I have built the Angular JS dropdown multilselect but I am having trouble connecting it to  the table.

 

Here is the table that I build:

find_real_file.png

 

HTML

 

find_real_file.png

 

Client Script

 

find_real_file.png

 

Server Script

 

find_real_file.png

 

When I load the data with the filter applied 

 

find_real_file.png

I get the list of objects :

find_real_file.png

 

I think I need to use the id from the client  script to select the object that  I want to display but I don't know how.

 

find_real_file.png

 

When I click on the multilselect the id from the client scripts gets attached to each object:

 

find_real_file.png

 

Any help much appreciated!!!

7 REPLIES 7

nayanawadhiya1
Kilo Sage

Hello,

 

Instead of returning true/false in FilterScope Client side function return the label name of the checkbox.

principp1
Kilo Explorer

Hi   Nayan,

 

You mean  like this?

 

find_real_file.png

 

If I do that I get the error

You need to return note_category name.

principp1
Kilo Explorer

Could you write out what you mean, I don't understand 😞