filtering from an array of IDs
filtering from an array of IDs
spiderwell
Posts: 3Questions: 0Answers: 0
Hi guys,
I currently have my dataTable showing a list of users, and I want to filter via a drop down select. That bit in itself isn't what I am stumbling over, I need to pass an array of IDS from the select ( i could put them in the value as csv style numbers) and hen i need to filter out anything that ISN'T in the array (i.e. the array indicates the rows I want left showing). The idea being the select box is listing existing 'lists' of users and if selected I want to filter to just that list of users.
I hope you can help me out please as I cant find anything to deal with an array of IDs (int) .
Thanks
I currently have my dataTable showing a list of users, and I want to filter via a drop down select. That bit in itself isn't what I am stumbling over, I need to pass an array of IDS from the select ( i could put them in the value as csv style numbers) and hen i need to filter out anything that ISN'T in the array (i.e. the array indicates the rows I want left showing). The idea being the select box is listing existing 'lists' of users and if selected I want to filter to just that list of users.
I hope you can help me out please as I cant find anything to deal with an array of IDs (int) .
Thanks
This discussion has been closed.
Replies