var selectedoptions = $("#spanid").igCombo("option","multiSelection")
Variable selectedoptions has an igCombo data structure but I need this variable to have string values of the checkbox users select. I am not able to get the correct values. any help?
Ignite UI is the library in case if anyone is wondering.
The
multiSelection
option will give you the configuration object for the multiple selection in theigCombo
. In order to extract the selected items you need to use theselectedItems
API method.https://www.igniteui.com/help/api/2017.2/ui.igcombo#methods:selectedItems