View Single Post
  #4 (permalink)  
Old November 10th, 2004, 02:04 AM
vinod_yadav1919 vinod_yadav1919 is offline
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hello Sasidhar
Yes you can sort the List box(selectbox) ,for that you will have to create object ,since in order to sort the Text of List box ,you must have to arrange their values in the proper order.
So it's best choice to create object and do the sorting .

You can use array.sort() method only to sort array elements,since List Box may have different value and text ,so you will have use Custom Object .

Hope You will get the answer.
Cheers :)

vinod
Reply With Quote