Bug Report : Editor Row Reordering Not Working

Bug Report : Editor Row Reordering Not Working

ihuangmxihuangmx Posts: 26Questions: 9Answers: 1

I use Editor 1.7.4 and RowReorder 1.2.4 , when i drag the row and change the position, and i don't see any ajax post request or error in console, i found the bug code is

var id = dt.row( endNodes[i] ).id(); // get undefined
var endRowData = dt.row( endNodes[i] ).data();
var startRowData = dt.row( startNodes[i] ).data();

so i change the code as follow, and it works

var endRowData = dt.row( endNodes[i] ).data();
var id = endRowData.id; // get row id
var startRowData = dt.row( startNodes[i] ).data();

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Hi,

    Are you able to give me a link to a page showing the issue please? The example here appears to work okay.

    Thanks,
    Allan

This discussion has been closed.