I am trying to use the tbl_get_cell_data function, to access data from the cells of a grid that is developed using StringRay Objective Grid . However no values are being returned in the output variable.

Has anybody experienced this problem before?

Below is the code that I am using to do this:

tbl_get_cols_count("grid", colcount);
tbl_get_rows_count("grid", rowcount);

for (r=1; r<rowcount; r++)
row_num = sprintf("%s%s", "#", r);
for (c=1; c<colcount; c++)
col_num = sprintf("%s%s", "#", c);