Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
how to move the rows up or down at client side? or How to rearrange rows?
posted

Hi I have a specific requirement that users may rearrange the order of the rows. We may need to provide up or down arrow for the selected row and if he clicks up arrow the row should move to one level above. i.e If I select row number 5 and click Up button the 5th row should move to 4th row and 4th row should become 5th row.

Or is there any way to drag and drop the rows in a desired place? i.e when I drag and drop a a row, it should be placed between the rows.

whichever is possible, please share your suggestions.

Thanks,

Arun.K.S

Parents
No Data
Reply
  • 1923
    posted

    Hi Arun,

    I was able to get row moving up/down going in the webgrid...I was using an up and down arrow buttons and just moving the selected row. THe suggested answer by Vince I believe is how to do it Server Side.

    Anyway...here is a link to the post which had my code...otherwise I'll rip it out and send it to you if you like:

    http://community.infragistics.com/forums/p/1211/85880.aspx#85880

Children
No Data