PDA

View Full Version : Buttons in the Form Panel



vicmoorthy
5 May 2010, 5:39 AM
I want to create buttons in the form panel. I could not find a way in the designer. Can someone help me.

Without designer I was able to add the following code.

buttons: [
{
text: 'Save' ,
handler : function ( button , event )
{
this.saveRecord (button , event);
}.createDelegate (this)
},
{
text: 'Cancel'
}
]

Vic

Jamie Avins
5 May 2010, 7:42 AM
You can change buttons to fbar. The buttons configuration is being slated for deprecation.