[CLOSED] 'BeforeShow' event of a Tab is executed before 'AfterEdit' event of the grid

  1. #1

    [CLOSED] 'BeforeShow' event of a Tab is executed before 'AfterEdit' event of the grid

    Hi!

    I have some TabPanels with GridPanels inside them. When I edit any Grid, the event AfterEdit is excecuted when I press Enter or when I lost the focus from current control (comboBox or textBox inside the grid).
    The problem appears when I lost the focus doing click in another tabPanel, because the events BeforeShow and Show are executed before AfterEdit of the grid, so it causes some problems in my page.

    How can I execute the event 'AfterEdit' from the grid at first?

    Thank's
    Last edited by Daniil; Dec 27, 2010 at 8:49 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Try to add the following listener for each grid
    <Render Handler="#{TabPanel1}.on('beforetabclose', function(){this.stopEditing();}, this);" />

Similar Threads

  1. Gridpanel - Afteredit Event
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Feb 09, 2012, 9:22 AM
  2. [CLOSED] MultiCombo Tooltip BeforeShow Event
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 22, 2011, 12:07 PM
  3. Editable Grid Panel - AfterEdit event
    By garag in forum 1.x Help
    Replies: 1
    Last Post: Sep 19, 2011, 4:26 PM
  4. [CLOSED] ProperyGrid and afteredit event
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 16, 2011, 4:13 PM
  5. Grid Panel with Event AfterEdit
    By stephan1985 in forum 1.x Help
    Replies: 1
    Last Post: Jan 15, 2010, 8:47 AM

Posting Permissions