GetSel - method of the PmfTable object
Description:
Detects selected rows or cells.
Syntax:
Variant GetSel(Long nType)
Parameters:
nType | (Long) Must be always the 0 value. |
---|
Return value:
The return value depends on setting of the
SelType property.
- If nothing is selected then null is returned.
- If the
SelType is ==
"row" then the
PmMap object is returned, containing set properties:
oRet.Row - the number of the selected row
- If the
SelType is ==
"cell" then the
PmMap object is returned, containing set properties:
oRet.Row - the number of the selected row
oRet.Col - the number of the selected column
Example1:
JavaScriptSelect and copy to clipboard
var val = oTable.GetSel(0);