Author Topic: Drag and Drop on Nested Gride  (Read 67 times)

NearEarthObject

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Drag and Drop on Nested Gride
« on: August 26, 2019, 01:28:20 pm »
Hi !

I have a nested grid with only one level, parent and child. I need to allow order position with drag and drop.
Parents are changing without any trouble, but when I try to operate drag on child row, the child row jump to the top of the grid.

https://jsfiddle.net/NearEarthObject/o879bfwg/

I would like to know if it's possible to allow row drag and drop of children staying in children view ?

Thanks in advance

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 4038
    • View Profile
Re: Drag and Drop on Nested Gride
« Reply #1 on: August 26, 2019, 09:30:36 pm »
Drag & drop of rows in nested grids is not supported yet. I'm moving it to feature request board.

NearEarthObject

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Drag and Drop on Nested Gride
« Reply #2 on: August 27, 2019, 04:48:31 pm »
Sounds great additional value  ;)

For my immediate needs, I turn nested grid into tree.
Drag drops works well except I would like to prevent a moving nodes change of level. and make drag and drop only allowed between same level.

Would you be kind giving me some reflex ions track to achieve It ?