Spreadsheets / WickedGrid

Easy & Wicked Fast spreadsheets for the web
http://spreadsheets.github.io/WickedGrid
587 stars 131 forks source link

cell is null #51

Closed abdotalaat closed 9 years ago

abdotalaat commented 9 years ago

when i call jS.cellHandler.cellValue("A1"); give me in console cell is null

robertleeplummerjr commented 9 years ago

what are you trying to accomplish? Also in v4 thus method has changed to:

js.cellHandler.cellValue({columnString: "A", rowString: "1"}); for performance reasons. On Sep 22, 2014 5:49 AM, "abdotalaat" notifications@github.com wrote:

when i call jS.cellHandler.cellValue("A1"); give me in console cell is null

— Reply to this email directly or view it on GitHub https://github.com/Spreadsheets/jQuery.sheet/issues/51.

abdotalaat commented 9 years ago

I want to get the value of cell i use version 3.1

robertleeplummerjr commented 9 years ago

The cellHandler is really used mostly by the formula parser. What you want is probably:

for most up to date value

var value = jS.updateCellValue(sheetIndex, rowIndex, columnIndex);

or most recent value

var cell = jS.spreadsheets[sheetIndex][rowIndex][columnIndex];
cell.value;