Grid rows move up and down + mvc

  1. #1

    Grid rows move up and down + mvc

    hi

    in my MVC Project


    i m having grid control ... in that i need to move rows
    up and down (not ascending and descending) and i want to place rows what ever i want....


    like in grid we can rearrange our columns Na that same thing i need it for grid rows...


    is this possible in ext.net?


    guide me to implement this...


    thanks


  2. #2
    Quote Originally Posted by vs.mukesh View Post
    hi

    in my MVC Project


    i m having grid control ... in that i need to move rows
    up and down (not ascending and descending) and i want to place rows what ever i want....


    like in grid we can rearrange our columns Na that same thing i need it for grid rows...


    is this possible in ext.net?


    guide me to implement this...


    thanks


    You can set store sort.

    for example:
    Sort1 is store sort field.
    store.data.items[i].set("Sort1", 2);
    store.data.items[i+1].set("Sort1",1);
    store.sort("Sort1","ASC");

Similar Threads

  1. GridPanel move rows drag and drop
    By cbu in forum 1.x Help
    Replies: 2
    Last Post: Jan 13, 2012, 2:20 PM
  2. [CLOSED] Move the grid panel into panels.
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 10, 2011, 5:50 AM
  3. [CLOSED] Move grid row with drag drop
    By xeo4.it in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 24, 2011, 10:13 AM
  4. [CLOSED] Gridpanel Rows Move
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 28, 2009, 6:46 AM
  5. Move rows between grids
    By fquintero in forum 1.x Help
    Replies: 11
    Last Post: Jan 20, 2009, 10:06 AM

Posting Permissions