* Returns array of column values from the data source. `column` is the index of the row in the data source. * * @param {number} column Visual column index. * @returns {Array}
(column: number)
| 120 | * @returns {Array} |
| 121 | */ |
| 122 | getAtColumn(column: number) { |
| 123 | const result: unknown[] = []; |
| 124 | |
| 125 | arrayEach(this.data!, (row: unknown, rowIndex: number) => { |
| 126 | const value = this.getAtCell(rowIndex, column); |
| 127 | |
| 128 | result.push(value); |
| 129 | }); |
| 130 | |
| 131 | return result; |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Returns a single row of the data or a subset of its columns. If a column range or `toArray` arguments are provided, it |