multi select in list view

Hi, I want to select a set of users from a group ("ploeg"). i have a set of groups and each group has a set of members. I want to apply a (dynamic) filter on the data and therefor I use a listview and added a dropdown filter. listview with (unused) dropdown filter:                with filter applied: first problem: in order to use the dropdown filter i added multiple groupnames based on attribute "ploegnaam". I have hardcoded all the present groupnames (this works) but i like this to be dymamic, based on the "groepnaam" value. is this possible? Listviews do not allow multiselect as in datagrids. but if i use a datagrid i cannot use the dropdown filter. has anyone any suggestions of how i can accomplish this?
2 answers

As a listview does not have a multi select option you could set the listview to editable and add a select boolean as dropdown. This way you mark the records you want to use and can then perform an action on the marked records.

Be aware that this simple solution will not work when multiple users are selcting records from the list.

In that case you'll need a function to relate the selected objects to the user or session so that you can retrieve the records with your action based on the user.

In both cases the first action should be to reset the selection boolean after retrieving the list of records.

Not quite sure why a listview must be used, as the template grid seems to be a better choice in your case though.


I think you could find a app in the app store for that problem:

Maybe this app could be something for you.