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
760
WinGrid Drag Drop From Band To Band
posted

Hello,

I have a Grid that has two bands. The parent band is called ZoneGroups and the child band is called Zones. This is suppose to represent a parent child relationship where I can have many Zones in one ZoneGroup.
Currently I will have a few ZoneGroups populated with many Zones each. What I would like to do is be able to move the Zones (rows) in the ZoneGroups between each Zone Group. I attached a photo to show my current set up and what I would like to do to clarify.

What I would like to do is move for instance the Zone (row) named "Thermal 1-1" into the ZoneGroup 2, creating now only 1 row in ZoneGroup 1, and three rows in ZoneGroup 2.

I read in a forum that this might not be possible. If its not is there any kind of work around that could be suggested to achieve this goal? Thank you for your time!

Parents
No Data
Reply
  • 53790
    Verified Answer
    posted

    Hello Rich,

    I think that you could achieve desire behavior if you are using :

    -          ultraGrid1_SelectionDrag()

    -          ultraGrid1_DragDrop()

    -          ultraGrid1_DragEnter()

    events and set property AllowDrop = true of your UltraGrid. Could you please take a look at the attached sample for more details. Also I attached one more sample (UltraGirdDragRows) with dragging a rows between two different UltraGird. Please let me know if you have any questions

    Regards

    UltraGridDragRows_2.zip
Children
No Data