returns the parameters of a cell
getCellRect(rowId: string | number, colId: string | number): object;
Parameters:rowId: string | number
- the id of a rowcolId: string | number
- the id of a columnAn object with parameters of a cell.
Example
const rect = grid.getCellRect("1", "c");
// -> {x: 200, y: -40, height: 40, width: 200}
The return object includes the following attributes:
x (number) the X coordinate of a cell y (number) the Y coordinate of a cell height (number) the height of a cell width (number) the width of a cellRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4