Skip to content

Instantly share code, notes, and snippets.

@sakunyo
Created October 20, 2011 00:29
Show Gist options
  • Save sakunyo/1300083 to your computer and use it in GitHub Desktop.
Save sakunyo/1300083 to your computer and use it in GitHub Desktop.
{
text: "OK",
handler: function(){
var checked = Ext.ComponentQuery.query("#window checkboxfield[checked=true]");
var result = "";
Ext.each( checked, function( item ){
result += ""+
"label:"+ item.boxLabel +"<br />"+
"value:"+ item.inputValue +"<br />";
});
Ext.get("hogeId").update( result );
//console.log(Ext.getCmp("hogeId"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment