Gets a cell by its global index in a row's array passed in rowObj.
Namespace:
C1.Web.UI.Controls.C1GridViewAssembly: C1GridViewClient (in C1GridViewClient.dll)
Syntax
JavaScript |
---|
C1.Web.UI.Controls.C1GridView.C1GridViewRowsAccessor.getCell = function(rowObj, index); |
Parameters
- rowObj
- Type: array<TableRowElement>[]()[][]
Two-dimensional array of TableRowElement objects.
- index
- Type: System..::..Int32
Zero-based global index of a cell.
Return Value
A cell or null if a cell with provided index is not found.Examples
Suppose rows is an array containing the following data:
[ ['a', 'b'], ['c', 'd', 'e'] ]
'a' symbol has a global index 0.
'c' symbol has a global index 2.