Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetCellEditable - method of object PmgWTable

Description:
Returns the information whether it is enabled to edit the cell.
Syntax:
Boolean GetCellEditable(Long Row, Long Col)
Calling:
bEditable = oTable.GetCellEditable(row, 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);
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice