Update back-end Datatables object from front-end cell reference

This updates the back-end table object as well as the front-end html table. This is only needed when content is updated after the initial table has been drawn and you're using the Datatables native PDF, XLS, CSV exports.
JavaScript


var dispcell = $(parentTR).find('td.gradereporteddisp');
var cell = table.cell( dispcell );
cell.data( dispvalue ).draw();

Written by fbrefere001

Posted by fbrefere001 on Tuesday May 24, 2022