valueAt(row, column, [new_order], [value])

Class: Table.

Description:

Sets or gets a value at a specified row and column. Returns undefined if specified row or column doesn't exist.

Parameters:

Name Type Default Description

row

number

Index of the row in question

column

number

Index of the column in question

[new_order]

boolean

false

To use the new sorted order of rows and columns or not

[value]

string | number | boolean

The value to set the specified cell

Returns:

Returns the current cell value if new value is provided by value parameter; otherwise, returns the Table instance for chaining.

Type: string | number | boolean | Table