get a cell value

I’m trying to get a cell value with the following as the grid resides in an accordion:

$(document).ready(function () {
$(function () {
var cellObj = gridbox.cells(1,0).getValue();
alert(cellObj);
});
});

my result:
Uncaught TypeError: gridbox.cells is not a function

Please, make sure that the name of your grid is “gridbox”.

Also, make sure that it is created at the moment, when you are calling the getValue() method.

If the problem still occurs for you please, provide with a more detailed sample of the code or with a complete demo/demo link, where the problem can be reconstructed locally.