Dynamic content and cache

Dynamic content and cache

brigosxbrigosx Posts: 12Questions: 3Answers: 1

Hi all, I am changing the contents of the associated DOM cell (e.g. the TD innerHTML after User keys in text) but the search option of the datatable is not working with the new text until the entire page gets refreshed and eventually the datatable object gets rebuild. Is there any quick method to change the cached contents of the specific cell without rebuilding the table? I've tried the $(datatable).cell('#myid').nodes().innerHTML but this does not seem to solve the problem.

Answers

  • brigosxbrigosx Posts: 12Questions: 3Answers: 1

    Finally I came up with the following but I am not quite sure that this will be the solution to the above mentioned problem:

    ''''dtable.cell('#mcat'+selrow+'_'+selcol).data(stxt);'''

    What could happen to the CELL that has more HTML elements (e.g. an <A> or <INPUT> tag)?

This discussion has been closed.