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
320
Drag and Drop in a WebDataGrid
posted

How can I drag and drop rows in a grid.  I am trying to have a simple grid that consists of two columns.  Column one is name and two is active YN.   the second column will have a checkbox.  I want to be able to check if the user name is active and then have the capability to sort the names (by drag and drop) before I hit a submit button.  Can a webgrid have drag and drop in rows?

Parents
No Data
Reply
  • 14049
    Offline posted
    Hello,
    The WebDataGrid does not have built in drag-and-drop functionality. You
    can try to use our Drag And Drop framework to drag the rows. When
    dropped some custom logic needs to be added to trigger the grid's
    refresh and since the grid is data bound control the rows need to be
    swapped in the actual data source or sorted in some way.
Children