How to save data to plugin into a directevent?

  1. #1

    How to save data gridpanel- plugin using directevent?

                            <Plugins>
                                <ext:RowEditor ID="RowEditor1" runat="server" SaveText="Guardar" CancelText="Cancelar" Enabled="True" rrorSummary="False">
                                    <DirectEvents>
                                        <ValidateEdit OnEvent="Select_Click" After="#{GridPanel1}.getRowEditor().stopEditing();#{GridPanel1}.save();">
                                            <ExtraParams>
                                                <ext:Parameter Name="IdAmenaza" Value="r.data.IdAmenaza" Mode="Raw" Encode="true" />
                                                <ext:Parameter Name="Id" Value="r.data.Id" Mode="Raw" Encode="true" />
                                                <ext:Parameter Name="IdVulnerabilidad" Value="r.data.IdVulnerabilidad" Mode="Raw" Encode="true" />
                                                <ext:Parameter Name="IdExposicionAlaAmenaza" Value="r.data.IdExposicionAlaAmenaza" Mode="Raw" Encode="true" />
                                                <ext:Parameter Name="IdGradoDificultadExplotacionVulnerabilidad" Value="r.data.IdGradoDificultadExplotacionVulnerabilidad" Mode="Raw" Encode="true" />
                                            </ExtraParams>
                                        </ValidateEdit>
                                    </DirectEvents>
                                    <Listeners>
                                        <CancelEdit Handler="deleteEmpty();" />
                                    </Listeners>
                                </ext:RowEditor>
                            </Plugins>                        
    
            }
    I only saved once, and I stop working

    please help me
    Last edited by jhohan25; Jun 20, 2011 at 6:48 PM.
  2. #2
    Hi,

    Please simplify your code sample. Are five <ext:Store> components required?

    More explanation would assist us in understanding your requirements.
    Geoffrey McGill
    Founder
  3. #3

    Hi,

    Quote Originally Posted by geoffrey.mcgill View Post
    Hi,

    Please simplify your code sample. Are five <ext:Store> components required?

    More explanation would assist us in understanding your requirements.
    Thanks in advance.

    my problem is that I only saved once, and then I stop working.

    but on returning to reload the page again and it works only once.

    only run the directevent once and stops running.
    Last edited by jhohan25; Jun 20, 2011 at 6:26 PM.

Similar Threads

  1. Save gridpanel data
    By Vaishali in forum 1.x Help
    Replies: 0
    Last Post: Feb 20, 2012, 6:33 AM
  2. how to update data using ext RowEditor plugin
    By reezvi in forum 1.x Help
    Replies: 27
    Last Post: Nov 17, 2011, 5:50 AM
  3. Save data from two GridPanels
    By Dominik in forum 1.x Help
    Replies: 15
    Last Post: May 11, 2011, 2:43 PM
  4. How to save the many data
    By wkcode in forum 1.x Help
    Replies: 1
    Last Post: Feb 28, 2009, 3:39 AM
  5. Data back on a Store.save()
    By Dave.Sanders in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 03, 2008, 1:03 PM

Posting Permissions