Author Topic: moveItem  (Read 2444 times)

.

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 1
    • View Profile
moveItem
« on: May 25, 2019, 11:58:32 am »
>>pqgrid.dev.js#600
        moveItem: function(node, data, indxOld, indx) {
            if (indxOld > indx) {
                data.splice(indxOld, 1);
                data.splice(indx++, 0, node)
            } else if (indxOld == indx) {
                indx++
            } else {
#                data.splice(indxOld, 1);
#                data.splice(indx, 0, node);
            }
            return indx
        },

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: moveItem
« Reply #1 on: June 07, 2019, 10:14:00 pm »
Could you please mention the issue faced by you.