Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 950

How to get index value from dropdownlistbox control

$
0
0

Hi All,

 

With PB12.5 here.

 

I have a dropdownlistbox, with insertitem code as below.

Would like to check how can I get the index value for the selected item? Because I need it to put into setsort syntax later. (Example: dw_1.SetSort ( '#2 A' )). I did check and tried, with ddlb_sortingcol.index, ddlb_sortingcol.selecteditem, ddlb_sortingcol.item[], ddlb_sortingcol.item and so on, to get the index value, but it is not working.

 

ddlb_sortingcol.insertitem('Col_1',1)

ddlb_sortingcol.insertitem('Col_2',2)

ddlb_sortingcol.insertitem('Col_3',3)

 

Kindly advise and thank you in advance.

 

BR,

Yow


Viewing all articles
Browse latest Browse all 950

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>