Promotic
WikipediaLinkedInYoutubeTwitterFacebook

GetCellEditable - method of object PmTable

Description:
Returns the information whether it is enabled to edit the cell.
Syntax:
GetCellEditable(Row As Long, Col As Long) As Boolean
Calling:
bEditable = oTable.GetCellEditable(row, col)
Parameters:
Row(Long) If the value is >=0 then it is a index of the row (zero-based index). Value -2 means the last row.
Col(Long) If the value is >=0 then it is a index of the column (zero-based index). Value -2 means the last column.
Note:
The method is functional only if the value of Interaction property is set to 3.
 
The method can also be called in the graphic item events for Web Panels.
Example:
Find out about the possibility to edit the cell in the 2nd row and 8th column.
Dim oTable, bEditable
Set oTable = pMe.Items("/Ax0").Acx
oTable.Interaction = 3
bEditable = oTable.GetCellEditable(1, 7)
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice