-
Toggle component's setValue & toggle functions give an error
Toggle component's setValue & toggle functions give an error
When attempting to call these functions they both result in the following error:
TypeError: Result of expression 'thumb.el' [undefined] is not an object.
I'm doing something like this:
this.togglePanel = new Ext.form.Toggle({});
then later:
this.togglePanel.toggle();
I've also tried setting the initial value:
this.togglePanel = new Ext.form.Toggle({
value : 1;
});
However this results in the background of the toggle appearing green, but the toggle switch is in the 'off' position.
Am I doing things incorrectly?
Similar Threads
-
By SuperTron in forum Sencha Touch 1.x: Discussion
Replies: 1
Last Post: 30 Jul 2010, 9:51 PM
-
By Max_nl in forum Ext 3.x: Help & Discussion
Replies: 5
Last Post: 18 Jun 2010, 1:23 AM
-
By thatcoder in forum Ext 2.x: Help & Discussion
Replies: 1
Last Post: 29 Jan 2008, 3:38 PM
-
By objectwire in forum Ext 1.x: Help & Discussion
Replies: 0
Last Post: 19 Apr 2007, 3:34 PM
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us