Rows
property on a data table.newRow
method on a data table will return an empty row with the same schema as the existing rows. Each of the values will be null.product
and quantity
values are set on a new row and inserted into the table using the insert
method.insert
method on the data table can also take an array of rows and will by default add them to the end of the array of existing rows. Passing true
in as the second parameter will add them to the top of the array.product
column for all rows in the data table to jello
using the update
method.calc
function with update
to increase all quantity
rows by 20%.product
is equal to apples
using the delete
method.calc
function.