Author Topic: how to save position after drag&drop ?  (Read 2243 times)

alonewolf149

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 56
    • View Profile
how to save position after drag&drop ?
« on: April 17, 2020, 04:55:36 pm »
how to save position after drag&drop ?

i saw some sample code is quiet complex : http://prntscr.com/s14wwv

can u guide ?
i want to save position of row after drag&drop

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: how to save position after drag&drop ?
« Reply #1 on: April 17, 2020, 05:48:22 pm »
Quote
how to save position after drag&drop ?

Please provide more details of your requirements.

alonewolf149

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 56
    • View Profile
Re: how to save position after drag&drop ?
« Reply #2 on: April 17, 2020, 06:04:01 pm »
suppose i drag & drop : http://prntscr.com/s16di7

and refresh the page, how to save positon and showing the last result that i changed

Thanks

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: how to save position after drag&drop ?
« Reply #3 on: April 20, 2020, 02:45:45 pm »
moveNode event is used to capture and save the new order of rows.

Please check this example: https://paramquery.com/pro/demos/dnd_grid_state