Virtual mode and changing data on the fly

Virtual mode and changing data on the fly

noobernoober Posts: 2Questions: 2Answers: 0

I'm pretty sure the required functionality is presented in DataTables.net, but unfortunately I can't find the appropriate methods/options.

First of all, can I keep a source array with data, change them when I want then just call api.row(i).invalidate()? It would be what called 'list control virtual mode' in Windows API.

At second, can I also convert the cell data from, say, "0" to "<img src='0.png'>" on the fly? I still want to keep the source array live, and change values in it, say, from 0 to 1, but "<img src='0.png'>" should be replaced with "<img src='1.png'>". I guess, it can be a callback function, but where can I add it?

Thank you in advance. In fact I want just a couple of function/option names or a simple answer 'It's impossible'.

Regards,

This discussion has been closed.