[CLOSED] Update only dirty rows of gridpanel

  1. #1

    [CLOSED] Update only dirty rows of gridpanel



    I am using the roweditor example to update a grid.
    What I would like to do is when I click Save when i am done editing the grid, it will loop through each row and only update dirty rows to the DB. I couldn't find any example on how to tell the row is dirty (from code-bind) Could you please share a small example or syntax? Thank you for your help!
  2. #2

    RE: [CLOSED] Update only dirty rows of gridpanel

    Hi,

    How about calling .commitChanges() on the Store client-side.


    Example


    GridPanel.store.commitChanges(); // or just Store1.commitChanges();

    Hope this helps.


    Geoffrey McGill
    Founder & CEO
  3. #3

    RE: [CLOSED] Update only dirty rows of gridpanel

    Thanks. I also found previous post explaining how to handle this.
    Please make it as resolved.

Similar Threads

  1. [CLOSED] GridPanel.Rows.Changing Background Color of Rows
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 01, 2012, 5:18 PM
  2. [CLOSED] How to get all dirty record from a gridpanel
    By xian.xu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 26, 2011, 12:21 AM
  3. [CLOSED] Update only dirty cell in the row of gridpanel
    By Shanth in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 17, 2011, 12:46 PM
  4. Finding dirty rows in a gridpanel
    By Kamal in forum 1.x Help
    Replies: 2
    Last Post: Aug 16, 2009, 9:51 AM
  5. [CLOSED] live update of grid rows
    By mjessup in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Apr 17, 2009, 5:59 AM

Posting Permissions