GetCellEditable - method of the PmgWTable object
Description:
Returns the flag whether it is enabled to edit the cell.
Syntax:
Boolean GetCellEditable(Long Row, Long Col)
Parameters:
Row | (Long) If the value is greater or equal 0 then it is a row index (zero-based index, counted including the fixed part).
Value -2 means the last row. |
Col | (Long) If the value is greater or equal 0 then it is a column index (zero-based index, counted including the fixed part).
Value -2 means the last column. |
---|
Note:
The method is functional only if the
Interaction property is set to
3.
This method is also functional in
Web panels.
Example:
Detects the possibility to edit the cell in the 2nd row and 5th column.
JavaScriptVBScriptSelect and copy to clipboard
var bEditable;
var oTable = pMe.Items("/Table");
oTable.Interaction = 3;
bEditable = oTable.GetCellEditable(1, 4);
Dim bEditable
Dim oTable
Set oTable = pMe.Items("/Table")
oTable.Interaction = 3
bEditable = oTable.GetCellEditable(1, 4)