Error when deleting last row

Error when deleting last row

fabianrottfabianrott Posts: 30Questions: 1Answers: 0

Hi!

I get an error message when deleting the last row of a table while keys is set. The deletion works, but afterwards, i don't get visual feedback when trying to select a cell. The javascript console shows the error TypeError: settings.aoData[row] is undefined.

I think this is a problem of DataTables or Editor, since it also exists in the example for using KeyTable. Just delete the last line and try to select a cell after that.

Replies

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

    This has been fixed in the nightly version of KeyTable. I'll likely make a release of KeyTable in the next few days which will include this fix and others.

    Allan

  • fabianrottfabianrott Posts: 30Questions: 1Answers: 0

    Thank you, Allan!
    I'm looking forward to the release!

  • taenzermetaenzerme Posts: 1Questions: 0Answers: 0
    edited August 2016

    I get a similar error with the current version when I try to delete the last row on a page:

    The problem does not occur when I disable the "keys" option.

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

    Can you link to a page showing the issue so I can debug it please?

    Allan

This discussion has been closed.