Removing entries from a Multi-Select listbox
Hi All,
This shouldn't be that hard.

I populate the left multi-select from a lookup.
I then select and call my own javascript function on button click which calls helper method bindDataToCollectionControls to move the selected items to the right multi-select. If one is selected in error I just want to select, hit "Remove NEAT Companies" button to call a similar function>helper method and remove it.
What am I missing?
It sure would be nice if the controls help would show applicable helper methods and the helper methods would show applicable controls.
Thanks!
-
Thanks, Douglas,
We appreciate our valuable product user's considerable suggestion to improvise our product more user friendly.
There is not an OOTB helper method available to remove the bounded values from the collection control but you may use the following simple javascript which will help you to remove the items from the collection controls.
function remove_listItems(ControlID) {var src = document.getElementById(ControlID);for (var count = src.options.length - 1; count >= 0; count--) {if (src.options[count].selected == true) {src.remove(count, null);}}}
We would like you to help in a better way by raise a ticket for further queries in our AgilePoint Support where you will get room to create a detailed conversation of your queries and issues with tracking.
Regards,
AgilePoint Support.
请先登录再写评论。
评论
1 条评论