mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 18:46:02 +00:00
fix
This commit is contained in:
@@ -54,6 +54,9 @@ export function countColumnSizes(grider: Grider, columns, containerWidth, displa
|
|||||||
context.font = '14px Helvetica';
|
context.font = '14px Helvetica';
|
||||||
for (let rowIndex = 0; rowIndex < Math.min(grider.rowCount, 20); rowIndex += 1) {
|
for (let rowIndex = 0; rowIndex < Math.min(grider.rowCount, 20); rowIndex += 1) {
|
||||||
const row = grider.getRowData(rowIndex);
|
const row = grider.getRowData(rowIndex);
|
||||||
|
if (!row) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
for (let colIndex = 0; colIndex < columns.length; colIndex++) {
|
for (let colIndex = 0; colIndex < columns.length; colIndex++) {
|
||||||
const uqName = columns[colIndex].uniqueName;
|
const uqName = columns[colIndex].uniqueName;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user