CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Changing SelectBoxList[i].ItemIndex

by magosk » 10 Oct 2013 12:56

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).
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by Alexander Bulei » 10 Oct 2013 17:09

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
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by magosk » 14 Oct 2013 10:37

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
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by magosk » 18 Oct 2013 11:51

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.
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by Alexander Bulei » 18 Oct 2013 15:29

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by magosk » 21 Oct 2013 12:56

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!
magosk
 
Posts: 181
Joined: 07 Oct 2013 08:41

by markospiroski88 » 03 Apr 2015 14:29

Is this still working? Because I can't get the selected ItemIndex of the Select component.

Thanks
markospiroski88
 
Posts: 13
Joined: 29 Aug 2014 12:40

by Alexander Bulei » 06 Apr 2015 11:06

Hi markospiroski88,

What version of cgdevtools do you have?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by markospiroski88 » 06 Apr 2015 11:56

It's 2.4.0.119
markospiroski88
 
Posts: 13
Joined: 29 Aug 2014 12:40

by Alexander Bulei » 06 Apr 2015 16:29

Hello,

Maybe you have MultipleSelection = True?

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

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQMSelect

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.