new TableDataSet()
Creates a container that contains table-like data. Instances of TableDataSet may also created by
createFromJSON, createFromArray and
createFromResultSet
Methods
-
deleteColumn(name)
-
Removes the column.
Parameters:
Name Type Description name
String column name (case sensitive) -
getColumnName(colIndex) → {String}
-
/* Returns a the column name.
Parameters:
Name Type Description colIndex
number Index of the requested column Returns:
the column name- Type
- String
-
getRow(rowIndex) → {Object}
-
Returns a single row
Parameters:
Name Type Description rowIndex
number Index of the requested row starting with 0 Returns:
an object that has a respective property for each column- Type
- Object
-
getRowCount() → {Integer}
-
Returns the number of rows.
Returns:
- Type
- Integer
-
isWellFormed() → {Boolean}
-
Checks whether each row has a value for each column.
Returns:
true when the table data set is well formed.- Type
- Boolean