To get a value like '4,3' I have this:
var value = objeto.row(4).cell(3);
What's the correct form to develop the js method? I suppose I have to do something like that:
function objeto(rowIndex){
cell: function(cellIndex){
return rowIndex + ',' + cellIndex;
}
}
I know it doesn't work, it is only a guess. Thank you...
row()will set thethis.rowvalue and returnthis, andcell()will returnthis.row + "," + this.cell. I guess.row, so you need something like this:var objeto = { row : function (rowIndex){ return { cell : function (cellIndex){ return rowIndex+','+cellIndex; }} }}