Colreorder and Problem.

Colreorder and Problem.

jiricojirico Posts: 4Questions: 0Answers: 0
edited September 2012 in General
When I try to change a column position it generates me the following error:

[code] NS_ERROR_INVALID_POINTER: Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLTableRowElement.insertBefore] [/code]

I think it's because has less than . So is it possible to fix this? Here is the debug data: http://debug.datatables.net/ipijob

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    > I think it's because has less than . So is it possible to fix this?

    Yes that would do it - unfortunately this isn't supported by ColReorder at the moment since DataTables doesn't know what to do with the 'missing' cells. Calculating it would likely be very domain specific and really rather complex, so at the moment ColReorder, with a footer, requires that the number of cells in the tfoot match the number of columns.

    Allan
  • jiricojirico Posts: 4Questions: 0Answers: 0
    I see, I just added empty columns to solve the problem, thanks.
This discussion has been closed.