Hi Madhan,
Able to get the active rowindex and column index but not able to get the data. In the following example also, using getData() throws an exception "Uncaught (in promise) TypeError: Cannot read property 'rows' of undefined". I'm also facing the same issue. Please refer the sample code
let activeRowIndex = this.spreadsheet.getActiveSheet().usedRange.rowIndex;
let activeColIndex = this.spreadsheet.getActiveSheet().usedRange.colIndex;
let sheetName = this.spreadsheet.getActiveSheet().name;
console.log(activeRowIndex+"=="+activeColIndex+"=="+sheetName);
this.spreadsheet.getData(sheetName + getRangeAddress([0, 0, activeRowIndex, activeColIndex])).then((cells)=>{
cells.forEach((cell, key)=>{
console.log(key + " : " + cell.value);
})
});