fnUpdate in DataTables 1.9.4

fnUpdate in DataTables 1.9.4

aerisaeris Posts: 2Questions: 0Answers: 0
edited September 2012 in Bug reports
Hi,
Please help to verify why fnUpdate not working in 1.9.4, jsFiddle here
http://jsfiddle.net/aeris/hMEFp/6/

but fnUpdate from 1.9.2 is OK, jsFiddle here
http://jsfiddle.net/aeris/5R4Ee/1/

it have an input box "update" that should update the first row

thanks

Replies

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin
    > DT.fnUpdate(newRow, 1, 0);

    You are specifically telling fnUpdate to update the cell `0` with newRow. To update the whole row just don't pass a cell identifier: http://jsfiddle.net/hMEFp/7/

    This was a bug in 1.9.2 where arrays couldn't be used as a data source for a single cell, that was then fixed :-)

    Allan
  • aerisaeris Posts: 2Questions: 0Answers: 0
    Thank you!
This discussion has been closed.