ParamQuery grid support forum

General Category => Bug Report => Topic started by: . on May 25, 2019, 11:58:32 am

Title: moveItem
Post by: . 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
        },
Title: Re: moveItem
Post by: paramvir on June 07, 2019, 10:14:00 pm
Could you please mention the issue faced by you.