Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

'value change' event for the toggle inside a dynamic list

We have a simple page with a toggle, a dynamic list from a service, and a toggle inside the list. The event 'value change' of the toggle inside the list don't work.

Image Image Image Image

Some help?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

'value change' event for the toggle inside a dynamic list

Hi Rafael - any errors in Chrome console or Firebug tool?

Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

'value change' event for the toggle inside a dynamic list

No errors in the console using Firebug and no events for the toggle works.

It is strange that the text "On" is on the right for the toggle inside the list control.

Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

'value change' event for the toggle inside a dynamic list

We are going to test it again.

We obtain the values from a service and the "value change" event is triggered for every record from JSON. JS alert works fine for the "value change" but no other JS functions. We will test again.

Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

'value change' event for the toggle inside a dynamic list

Thank you so much, this works fine. We were doing wrong.

Our problem is that we need to call to a service in the "value change" event for the toggle but only after the list is completely loaded.

Some help?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

'value change' event for the toggle inside a dynamic list

In my example the list is completely loaded.

Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

'value change' event for the toggle inside a dynamic list

Yes !? How this can be done?. We fail to do that,

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

'value change' event for the toggle inside a dynamic list

I create the list on page load (by invoking a service).

Rafael Martínez
Posts: 0
Joined: Tue Apr 23, 2013 5:19 pm

'value change' event for the toggle inside a dynamic list

There is no way?

Our list is very complex, with one grid, one label, one hidden label and one toggle......and to write it all together without using Appery UI will be a lot of hard work.

Return to “Issues”