Add Rows Help

Add Rows Help

smasonsmason Posts: 25Questions: 11Answers: 0

I don't understand how to add a row to a datatable. I'm using DataTables 1.10.2
Say I have a table with five columns and want to add another row.

Does the following code look wrong?

oTable.row.add( { ['one', 'two', 'three', 'four', 'five'] }).draw();

Is there a difference between dataTable and DataTable? Does add not work if I created a table with dataTable?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.