Page History
Divcache | ||
---|---|---|
| DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
...
id | description |
---|
...
padding | 0px |
---|---|
width | 80px |
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
...
Table Cell (td) |
---|
JSColumnObject |
...
| |||||||||||||
...
Table Cell (td) |
---|
JSColumnObject |
...
...
...
Table Cell (td) |
---|
JSColumnObject |
...
...
...
...
...
Table Cell (td) |
---|
JSColumn |
...
...
Table Cell (td) |
---|
String[] |
...
...
...
Table Cell (td) |
---|
String |
...
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String[] |
...
Table Cell (td) |
---|
String |
...
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
Boolean |
...
HTML Table |
---|
...
class | Colgroup Tag | Column | | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Table Row (tr) | style | |||||||||||||
| ||||||||||||||
Table Body (tbody) | ||||||||||||||
|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
JSColumnObject |
Span | ||
---|---|---|
| ||
createNewColumn |
createNewColumn(columnName, type, length)
Creates a new column in this table. The name, type and length of the new column must be specified. For specifying the
type of the column, use the JSColumn constants. The column is not actually created in the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
The method returns a JSColumn instance that corresponds to the newly created column. If any error occurs and the column cannot be created, then the method
returns null.
Parameters
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | createNewColumn-String_Number_Number_Boolean |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
JSColumnObject |
Span | ||
---|---|---|
| ||
createNewColumn |
{Number} type
{Number} length
Returns
Supported Clients
Sample
createNewColumn(columnName, type, length, allowNull)
Creates a new column in this table. The name, type and length of the new column must be specified. For specifying the
type of the column, use the JSColumn constants. The column is not actually created in the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
The method returns a JSColumn instance that corresponds to the newly created column. If any error occurs and the column cannot be created, then the method
returns null.
Parameters
div
{Number} type
{Number} length
{Boolean} allowNull
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | createNewColumn-String_Number_Number_Boolean_Boolean |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
id | sig |
---|
Span | ||
---|---|---|
| ||
JSColumnObject |
Span | ||
---|---|---|
| ||
createNewColumn |
Returns
Supported Clients
Sample
createNewColumn(columnName, type, length, allowNull, pkColumn)
Creates a new column in this table. The name, type and length of the new column must be specified. For specifying the
type of the column, use the JSColumn constants. The column is not actually created in the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
The method returns a JSColumn instance that corresponds to the newly created column. If any error occurs and the column cannot be created, then the method
returns null.
Parameters
div
{Number} type
{Number} length
{Boolean} allowNull
{Boolean} pkColumn
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | deleteColumn-String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | getColumn-String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | prs |
---|
class | sIndent |
---|
Returns
Supported Clients
Sample
deleteColumn(columnName)
Deletes the column with the specified name from this table. The column is not actually deleted from the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
Parameters
Supported Clients
Sample
getColumn(name)
Returns a JSColumn for the named column (or column dataproviderID).
Parameters
Returns
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | getColumnNames |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | getDataSource |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | getQuotedSQLName |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
class | sIndent |
---|
Supported Clients
Sample
getColumnNames()
Returns an array containing the names of all table columns.
If the table is in mem, then the internal rowid column name is not returned.
Returns
Supported Clients
Sample
getDataSource()
Returns the table data source uri.
Returns
Supported Clients
Sample
getQuotedSQLName()
Returns a quoted version of the table name, if necessary, as defined by the actual database used.
Returns
id | sam |
---|
Supported Clients
Sample
class | sIndent |
---|
language | javascript |
---|
getRowIdentifierColumnNames()
Returns an array containing the names of the identifier (PK) column(s). Please note that if the table
is
class | lastDetailRow |
---|
id | getRowIdentifierColumnNames |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
id | ret |
---|
class | sIndent |
---|
in mem, then the internal rowid column name is also returned.
Returns
Supported Clients
class | lastDetailRow |
---|
id | getSQLName |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | getServerName |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
id | isMetadataTable |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
class | lastDetailRow |
---|
Sample
Div | |||||
---|---|---|---|---|---|
| |||||
|
getSQLName()
Returns the table name.
Returns
Supported Clients
Sample
getServerName()
Returns the Servoy server name.
Returns
Supported Clients
Sample
isMetadataTable()
Returns whether table was flagged as metadata table.
Returns
Supported Clients
Sample
Overview
Content Tools
Activity