Description

Gets the properties of a cell

Usage

Parameters

  • col {Integer}

    Column

  • row {Integer}

    Row

Returns

Object

Example

In ready method

var grid = Class.New("Grid", [2, 2]);
grid.setPropertyCell(
    [
        [0, 0], 
        [1, 0]
    ]
);
grid.getPropertyByCell(1, 0); // return 1

Returns undefined if column or row doesn't exist

Discussion