MCPcopy Create free account
hub / github.com/handsontable/handsontable / getAtCell

Method getAtCell

handsontable/src/dataMap/dataSource.ts:327–331  ·  view source on GitHub ↗

* Returns a single value from the data. * * @param {number} row Physical row index. * @param {number} columnOrProp Visual column index or property. * @returns {*}

(row: number, columnOrProp: number | string)

Source from the content-addressed store, hash-verified

325 * @returns {*}
326 */
327 getAtCell(row: number, columnOrProp: number | string): unknown {
328 const dataRow = this.modifyRowData(row);
329
330 return this.getAtPhysicalCell(row, this.colToProp(columnOrProp) as number | string | DataAccessorFn, dataRow);
331 }
332
333 /**
334 * Returns source data by passed range.

Callers 5

getAtColumnMethod · 0.95
getCopyableMethod · 0.95
CoreFunction · 0.80
validatePerCellFunction · 0.80
validateBatchedFunction · 0.80

Calls 3

modifyRowDataMethod · 0.95
getAtPhysicalCellMethod · 0.95
colToPropMethod · 0.65

Tested by

no test coverage detected