Problem with Colreorder
Problem with Colreorder
paddubattu
Posts: 4Questions: 0Answers: 0
Hi All,
I have problem with my Colreorder function.
It is working with some of the grids and I am facing problem with particularly editable items in a grid.
The problem is while reordering the columns in a asp.net grid(editable items) only headers are getting moved but not all the data which connected to the header in the columns.
While checking the exception is as below.
Uncaught Error: NOT_FOUND_ERR: DOM Exception 8 jquery.datatables.colreorder.min.js:19
o jquery.datatables.colreorder.min.js:19
f.fn.dataTableExt.oApi.fnColReorder jquery.datatables.colreorder.min.js:28
(anonymous function) jquery.datatables.min.js:312
ColReorder._fnMouseUp jquery.datatables.colreorder.min.js:61
(anonymous function) jquery.datatables.colreorder.min.js:53
c.event.handle jquery-1.4.3.min.js:63
h.handle.n
Please help..
I have problem with my Colreorder function.
It is working with some of the grids and I am facing problem with particularly editable items in a grid.
The problem is while reordering the columns in a asp.net grid(editable items) only headers are getting moved but not all the data which connected to the header in the columns.
While checking the exception is as below.
Uncaught Error: NOT_FOUND_ERR: DOM Exception 8 jquery.datatables.colreorder.min.js:19
o jquery.datatables.colreorder.min.js:19
f.fn.dataTableExt.oApi.fnColReorder jquery.datatables.colreorder.min.js:28
(anonymous function) jquery.datatables.min.js:312
ColReorder._fnMouseUp jquery.datatables.colreorder.min.js:61
(anonymous function) jquery.datatables.colreorder.min.js:53
c.event.handle jquery-1.4.3.min.js:63
h.handle.n
Please help..
This discussion has been closed.
Replies
function n(a) { for (var b = [], d = 0, c = a.length; d < c; d++) b[a[d]] = d; return b } function k(a, b, d) { b = a.splice(b, 1)[0]; a.splice(d, 0, b) } function o(a, b, d) { for (var c = [], e = 0, g = a.childNodes.length; e < g; e++) a.childNodes[e].nodeType == 1 && c.push(a.childNodes[e]); b = c[b]; d !== null ? a.insertBefore(b, c[d]) : a.appendChild(b) } f.fn.dataTableExt.oApi.fnColReorder = function (a, b, d) {
This is where I got the error
Allan