[CLOSED] Rows reordering

  1. #1

    [CLOSED] Rows reordering

    Hi,

    I'm trying to implement rows reordering like in this example, it works fine but when I try to save the changes in the database, I don't know how to do it, because I can't loop the gridpanel or store on server side.

    I have a "Number" column in my database and I need to update it when the user changes the order of a record.

    Can you advice me please, What's the way??
    Last edited by Daniil; Sep 07, 2012 at 5:59 PM. Reason: [CLOSED]
  2. #2
    Hi,

    You can handle the GridView Drop event to save the changes immediately after dropping.
    http://docs.sencha.com/ext-js/4-1/#!...rop-event-drop

Similar Threads

  1. [CLOSED] Remote validation when reordering rows
    By RCN in forum 2.x Legacy Premium Help
    Replies: 12
    Last Post: Jun 12, 2012, 5:11 PM
  2. Gridpanel Row reordering not working
    By Rupesh in forum 1.x Help
    Replies: 0
    Last Post: Apr 25, 2012, 10:44 AM
  3. Grid Row Reordering
    By Rupesh in forum 1.x Help
    Replies: 2
    Last Post: Apr 06, 2012, 11:02 AM
  4. Replies: 6
    Last Post: Dec 17, 2009, 8:40 AM
  5. reordering grid
    By frytas in forum 1.x Help
    Replies: 1
    Last Post: Oct 29, 2008, 2:36 PM

Posting Permissions