Page 1 of 1

Changing SelectBoxList[i].ItemIndex

PostPosted: 10 Oct 2013 12:56
by magosk
If I change TIWCGJQMSelect.SelectBoxList[0].ItemIndex in a server-side (ajax) event handler, it is not reflected in the mobile browser (tested on iPhone and Android).

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 10 Oct 2013 17:09
by Alexander Bulei
Hi magosk,

magosk wrote:If I change TIWCGJQMSelect.SelectBoxList[0].ItemIndex in a server-side (ajax) event handler, it is not reflected in the mobile browser (tested on iPhone and Android).


Will be implemented asap.
Thanks.

Best Regards

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 14 Oct 2013 10:37
by magosk
cgdevtools wrote:Hi magosk,

Will be implemented asap.
Thanks.

Best Regards


Thanks, it would be great if this could be included in the next beta release, it would be an important feature for us.

/Magnus

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 18 Oct 2013 11:51
by magosk
magosk wrote:If I change TIWCGJQMSelect.SelectBoxList[0].ItemIndex in a server-side (ajax) event handler, it is not reflected in the mobile browser (tested on iPhone and Android).


I checked with the new 1.7.0.3041 Stable Build and the problem is still there. In the nearest future I have a simple case where the new index is fixed, so changing it from the client side would be a sufficient workaround for now. I have not done any work yet with writing script code on the client side for these components, so if you could give a code example where you changed the ItemIndex of a select box from a button VClick event it would be much appreciated.

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 18 Oct 2013 15:29
by Alexander Bulei
Hi magosk,

magosk wrote:
magosk wrote:If I change TIWCGJQMSelect.SelectBoxList[0].ItemIndex in a server-side (ajax) event handler, it is not reflected in the mobile browser (tested on iPhone and Android).


I checked with the new 1.7.0.3041 Stable Build and the problem is still there. In the nearest future I have a simple case where the new index is fixed, so changing it from the client side would be a sufficient workaround for now. I have not done any work yet with writing script code on the client side for these components, so if you could give a code example where you changed the ItemIndex of a select box from a button VClick event it would be much appreciated.


Added support for ajax changing of ItemIndex property in V1.7.0.3046.

Best Regards.

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 21 Oct 2013 12:56
by magosk
cgdevtools wrote:Hi magosk,

Added support for ajax changing of ItemIndex property in V1.7.0.3046.

Best Regards.


I installed the 1.8.0.3049 beta and can confirm that it now works, thanks!

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 03 Apr 2015 14:29
by markospiroski88
Is this still working? Because I can't get the selected ItemIndex of the Select component.

Thanks

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 06 Apr 2015 11:06
by Alexander Bulei
Hi markospiroski88,

What version of cgdevtools do you have?

Best Regards.

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 06 Apr 2015 11:56
by markospiroski88
It's 2.4.0.119

Re: Changing SelectBoxList[i].ItemIndex

PostPosted: 06 Apr 2015 16:29
by Alexander Bulei
Hello,

Maybe you have MultipleSelection = True?

http://www.cgdevtools.com/docs/_html/IWCGJQMSelect.TIWCGJQMSelectBox.ItemIndex.htm

Best Regards.