It's possible read all edited fields from gridpanel?

  1. #1

    It's possible read all edited fields from gridpanel?

    Hi

    I have a gridpanel with more 600 registers and I will edit many fields, then save changes on data base but the idea is only update the edited

    the follow picture shows a field edited, the red mark is only visual or it's possible select all rows edited?

    Click image for larger version. 

Name:	edit.PNG 
Views:	113 
Size:	4.5 KB 
ID:	3791
  2. #2
    Hi,

    Please use:
    GridPanel1.getRowsValues({
        dirtyCellsOnly : true
    });
    or
    GridPanel1.getRowsValues({
        dirtyRowsOnly : true
    });
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please use:
    GridPanel1.getRowsValues({
        dirtyCellsOnly : true
    });
    or
    GridPanel1.getRowsValues({
        dirtyRowsOnly : true
    });
    Thank you

    <ext:Button ID="btnGuardar" runat="server" Text="Guardar" Icon="Disk">
                        <DirectEvents>
                            <Click OnEvent="Guardar" >
                            <ExtraParams>
                                <ext:Parameter Name="Grid1" Value="Ext.encode(#{GridPanelEdicionCosto}.getRowsValues({dirtyRowsOnly : true}))" Mode="Raw" />
                            </ExtraParams>
                            </Click>
                        </DirectEvents>
    </ext:Button>

Similar Threads

  1. Read data from GridPanel
    By bright in forum 1.x Help
    Replies: 2
    Last Post: Feb 13, 2012, 11:06 AM
  2. Replies: 1
    Last Post: Oct 24, 2011, 3:14 AM
  3. [CLOSED] "Blank" gridpanel column until edited...then blank again!
    By dmoore in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 24, 2011, 4:11 PM
  4. How To Read Records from Ext.GridPanel
    By Rupesh in forum 1.x Help
    Replies: 0
    Last Post: Nov 13, 2010, 6:04 AM
  5. read gridpanel rows
    By maxdiable in forum 1.x Help
    Replies: 0
    Last Post: Jul 21, 2009, 3:47 AM

Tags for this Thread

Posting Permissions