@officesdk/web
Version:
Web JS SDK for the Office SDK
20 lines (19 loc) • 439 B
JavaScript
export function createSpreadsheetCellProxy(cell) {
return {
get row() {
return cell.row;
},
get column() {
return cell.column;
},
get sheetId() {
return cell.sheetId;
},
getCellText: function () {
return cell.getCellText();
},
getCellValue: function () {
return cell.getCellValue();
},
};
}