Error - oDTSettings is not defined
Error - oDTSettings is not defined
bjnoel
Posts: 2Questions: 0Answers: 0
I'm getting the error: oDTSettings is not defined
I only get the error when using the option "aiOrder" to define a column re-order. I may be doing something wrong but I'm not able to tell. Please take a look at the debug report.
Debug Report:
http://debug.datatables.net/odubuv
Thanks!
I only get the error when using the option "aiOrder" to define a column re-order. I may be doing something wrong but I'm not able to tell. Please take a look at the debug report.
Debug Report:
http://debug.datatables.net/odubuv
Thanks!
This discussion has been closed.
Replies
> ColReorder - array reorder does not match known number of columns. Skipping.
Fix for that just committed.
I think the problem is with this line of your init:
> [1, 2, 3, 4, 6, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18]
It looks like you are using visible indexing, rather than array indexing (i.e. start at 0, not 1). So just decrement everything by 1 and that should work.
Allan
Thanks!