Stephen on Software aka SOS

August 24, 2009

this.wrap is undefined error – Ext JS Checkbox

Filed under: extjs — sljm @ 11:11 am

I am using Ext JS 2.2 and when you are setting Ext JS checkbox.setValue(something) before the checkbox is fully rendered you will get an “this.wrap is undefined” error.

The problem and fix is documented here. For a workaround with out changing any code, just make sure that you set the value of the checkbox in the Ext.onReady() portion and you should be ok.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.