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