Skip to main content

removeTableRows

Remove rows from a table.

Parameter

Two different objects are used to either delete rows based on indices, or based on a search for a value in a column. To remove by index:

KeyTypeDescription
namestringTable name.
indexnumberOptional first row index, where the first rofw has index zero. Default is zero.
countnumberNumber of rows to remove.

To remove by seaching:

KeyTypeDescription
namestringTable name.
columnstring or numberAn optional column to return, specified by either the header, or the column index. If not set then all columns will be returned.
valuestringValue to search for in the column.
singlebooleanIf true, remove only the first match instead of all matching rows.

Return value

null