spreadsheet_decoder icon indicating copy to clipboard operation
spreadsheet_decoder copied to clipboard

Request: Read a specific cell

Open f4ww4z opened this issue 6 years ago • 1 comments

I'd like to read a specific cell like for example B2 or C11. Was wondering if there's this functionality already?

f4ww4z avatar Jul 24 '19 03:07 f4ww4z

SpreadsheetTable doesn't have such dedicated method. rows method returns list of rows with integer indexes ( col and row in following example).

var decoder = new SpreadsheetDecoder.decodeBytes(bytes);
var table = decoder.tables['Sheet1'];
var value = table.rows[row][col];

sestegra avatar Jul 25 '19 11:07 sestegra