1. #1
    Ext User
    Join Date
    Nov 2008
    Posts
    2
    Vote Rating
    0
    Lolka is on a distinguished road

      0  

    Default FormPanel default submit action

    FormPanel default submit action


    Hi,
    I use FormPanel and custom handler.
    Is it possible to specify default "submit button" -- when user press Enter button on Form?
    My FP looks like this:
    Code:
    new Ext.FormPanel({
    ... panel config ...
    items: [
    {xtype:'textfield', fieldLabel: 'Somelabel', name: 'somename'},
    ...
    buttons: [{id: "search_button", text: 'Search', handler: function(b, e) { ... };
    ...
    I want "search_button" to be "default submit action" for my FP.
    Thanks.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    You could use submitOnEnter.

Similar Threads

  1. FormPanel submit action doesn't send form fields
    By errd in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 6 Apr 2011, 8:08 AM
  2. FormPanel default key action
    By gslender in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 26 Apr 2008, 3:05 PM
  3. flaw in submit action action.result
    By wisecounselor in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 26 Mar 2008, 12:23 PM
  4. Replies: 8
    Last Post: 12 Mar 2008, 1:24 AM
  5. Default Notes Web Action Bar
    By mdm-adph in forum Ext.nd for Notes/Domino
    Replies: 8
    Last Post: 4 Jun 2007, 7:04 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar