updateData() - paulmaclean/datatables.webcomponent GitHub Wiki
Updates the table data with the given data set. Dataset must be a uniform array of objects (ie [{'x' : 1, 'y' :1}, {'x' : 2, 'y' :2}] will work, where [{'x' : 1, 'y' :1}, {'x' : 2, 'b' :2}] will fail).
updateData(data: Array<any>): voiddataTable.updateData([{'x' : 1, 'y' :1}, {'x' : 2, 'y' :2}])