I am trying to make an app which takes some info from a server using JSON and changes a nested list and a slider based on it. However, I can't seem to be able to set toggle values, or add things to a nested list in the callback function of the Json request. Here is some of the code I am using to do this:
Here is how I am trying to set the sliders:
and here is how I am trying to add to the Floating nested list:
However, when I try to set the value of the toggle it completely stops the callback function and the app freezes, and if I try to do an add to the nested list the callback finishes, but the add does not happen. Does anyone have any ideas as to what I'm doing wrong? Any help would be greatly appreciated. Thanks beforehand!
var temp = Ext.getCmp('NestedListID').add(