TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > ComboBox > Method >

 

SetSelectedIndexes

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : OZ e-Form Extension > OZ e-Form JavaScript API > Input > ComboBox > Method >

 

SetSelectedIndexes

 

 

Sets the indexes of the selected items.

 

 

 

Prototype :

 

void SetSelectedIndexes

(

       string SelectedIndexes

)

 

 

 

Arguments :

 

SelectedIndexes

indexes of the item to be selected

Multiple options are separated by comma(",").

 

 

 

Example :

 

This.SetMultiSelectable(true);

This.SetSelectedIndexes("1,3,5");

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnStartBind,  OnInitialize