Child pages
  • JSDataSet

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Hidden
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE


HTML Table
idclassservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Property Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#rowIndex
Get or set the record index of the dataset.

id
HTML Table
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#addColumn(name, [index], [type])
adds a column with the specified name to the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#addHTMLProperty(row, col, name, value)
Add an HTML property to an HTML tag produced in getAsHTML().
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#addRow(index, array)
Add a row to the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#addRow(array)
Add a row to the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#createDataSource(name)
Create a data source from the data set with specified name and using specified types.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#createDataSource(name, types)
Create a data source from the data set with specified name and using specified types.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getAsHTML([escape_values], [escape_spaces], [multi_line_markup], [pretty_indent], [add_column_names])
Get the dataset as an html table.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getAsText(column_separator, row_separator, value_delimiter, add_column_names)
Get the dataset as formatted text.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object[]
Table Cell (td)
#getColumnAsArray(index)
Get the column data of a dataset as an Array.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getColumnName(index)
Get a column name based on index.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
ServoyException
Table Cell (td)
#getException()
Get the database exception if an error occurred.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getMaxColumnIndex()
Get the number of columns in the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#getMaxRowIndex()
Get the number of rows in the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object[]
Table Cell (td)
#getRowAsArray(index)
Get the row data of a dataset as an Array.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Object
Table Cell (td)
#getValue(row, col)
Get the value specified by row and column position from the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#hadMoreData()
Return true if there is more data in the resultset then specified by maxReturnedRows at query time.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#removeColumn(index)
Remove a column by index from the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#removeRow(row)
Remove a row from the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#setValue(row, col, obj)
Set the value specified by row and column position from the dataset.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#sort(col, sort_direction)
Sort the dataset on the given column in ascending or descending.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
void
Table Cell (td)
#sort(rowComparator)
Sort the dataset using a comparator function.

...