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
3455
After drag drop the row order in datatable is not changed.
posted

Hi,

I have an issue.

First I bind ultragrid with a datatable.

then enabled drag drop in ultragrid.

Run the application and change the order of row using drag drop, it is working but when I checked the datatable it is in the previous order.

The order of datarows in datatable is not changed according to the order in ultragrid.

How can we reflect this in datatable?

 

Regards,

Ceaser

  • 469350
    Verified Answer
    Offline posted

    Hi Caesar,

    Nothing you do in the grid will ever affect the order of the rows in the underlying data source. The grid cannot do this because the grid deals with teh DotNet BindingManager and IBindingList interface and these do not expose any way to change the order. 

    You will need to update your data source directly.