IlsSwRow JavaScript proxy.
More...
#include <javascript/clientside.h>
Public Member Functions | |
| Int | getRowNumber () |
| Returns the number of a row in its table. More... | |
| Boolean | onRowUpdate (Int colno, String value) |
| Changes the value of the corresponding attribute on the server. More... | |
| void | swOnDereference (Int colno, Boolean force=false, IlsSwServerDataSource sds=null,...) |
| Dereferences the row at the specified column number colno if the column is a hyper-reference. More... | |
IlsSwRow JavaScript proxy.
IlsSwTable (JavaScript), IlsSwRow (C++). | Int javascript::IlsSwRow::getRowNumber | ( | ) |
Returns the number of a row in its table.
In the Rogue Wave Views Script mapping, row numbers start from zero.
| Boolean javascript::IlsSwRow::onRowUpdate | ( | Int | colno, |
| String | value | ||
| ) |
Changes the value of the corresponding attribute on the server.
| colno | indicates which attribute in the server (via the mapping) should be updated. In the Rogue Wave Views Script mapping, column numbers start from zero. |
| value | the value of the attribute to be set in the server. This attribute is entered as a String but it is converted to the correct type when used. |
| void javascript::IlsSwRow::swOnDereference | ( | Int | colno, |
| Boolean | force = false, |
||
| IlsSwServerDataSource | sds = null, |
||
| ... | |||
| ) |
Dereferences the row at the specified column number colno if the column is a hyper-reference.
In the Rogue Wave Views Script mapping, column numbers start from zero.
| colno | column number. In the Rogue Wave Views Script mapping, column numbers start from zero. |
| force | [optional] specifies whether a new view instance must be instantiated when the same view is already opened on the same object. Its default value is false. |
| sds | [optional] If the sds parameter is supplied, it is used to open the new view. If not, the new view is opened with the preregistered panel or Server Data Source, if any. |
| ... | You can pass up to 10 arguments to open the view. These arguments are used as the values of the view parameters. |