Inline:
buttons: [{ text: 'Save', type: 'submit', id: "save", handler: function(){ ... } }],
By reference:
Ext.getCmp('save').on('click', function(){ ... });
Original: Cannot assign id to button?
No comments:
Post a Comment