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
678
Drag and Drop over 2 ultragrids in 2 differents tabs
posted

Hello,

I need two thinks :

1- I need to drag and drop on the same ultragrid but far from initial position. The problem is that the scrollbar do not move automaticaly on the left or right. If i need to copy cell 1 to the destinaton 50, the scroolbar don't move.

 

2- I need to drag and drop over two ultragrids and two differents tabs as on my picture below.

I want to copy cell from ultragrid1 in tab (1- Allée 1) to second tab (2- Allée 2). 

Thanks for your help.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    aitoz said:
    1- I need to drag and drop on the same ultragrid but far from initial position. The problem is that the scrollbar do not move automaticaly on the left or right. If i need to copy cell 1 to the destinaton 50, the scroolbar don't move.

    If that's the case, then you would need to implement that yourself using the DragOver event. You would probably do something like detect when the mouse is near the right edge of the grid and then scroll the grid using the grid.ActiveColScrollRegion.Scroll method.

    aitoz said:

    2- I need to drag and drop over two ultragrids and two differents tabs as on my picture below.

    I want to copy cell from ultragrid1 in tab (1- Allée 1) to second tab (2- Allée 2). 

    Again, I think you would have to implement this yourself. I guess you would trap the DragOver event of the tab control and when the mouse is dragged over the tab, you would switch to that tab by setting the SelectedTab property on the UltraTabControl.

     

Children
No Data