[CLOSED] fn vs Handler, eventargs in beforeedit event

  1. #1

    [CLOSED] fn vs Handler, eventargs in beforeedit event

    Hello

    I have a gridpanel and a beforeedit listener. Everything was working fine before I had to change fn to handler:

    before:
    <BeforeEdit fn="setNewEditor"/>
    Now:
    <BeforeEdit Handler="if dosomethingSucceed() setNewEditor(?);"/>
    SetNewEditor(e) where e is as described here: http://docs.sencha.com/ext-js/3-4/#!/api/Ext.grid.EditorGridPanel-event-beforeedit

    Now my question is how to submit this e parameter when one wants to use Handler instead of Fn?

    Thanks for any clarification.
    Last edited by Daniil; Dec 13, 2011 at 10:53 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Just
    setNewEditor(e);
    See also
    http://forums.ext.net/showthread.php?15470
  3. #3

    [Closed]

    Quote Originally Posted by Daniil View Post
    Hi,

    Just
    setNewEditor(e);
    See also
    http://forums.ext.net/showthread.php?15470

    yeah i read it before but didn't find my answer, it's just that I have to know that it is javascript programming:)

    but thanks for the answer it works all well again...

Similar Threads

  1. Combo box event handler
    By Shuaib in forum 1.x Help
    Replies: 1
    Last Post: Oct 10, 2012, 1:59 PM
  2. [CLOSED] Event handler before direct event handlers
    By matejgolob in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 08, 2012, 2:31 PM
  3. [CLOSED] Get Cell MetaData on BeforeEdit GridPanel event
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 17, 2011, 7:12 PM
  4. Replies: 1
    Last Post: Jun 25, 2009, 4:46 AM
  5. [CLOSED] Pass value to event handler
    By CSG in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 08, 2009, 11:28 AM

Tags for this Thread

Posting Permissions