Ensure that the result grid column should take width as pre preferences setting on first execution. #5132

This commit is contained in:
Nikhil Mohite
2022-10-06 15:59:27 +05:30
committed by GitHub
parent bb78d91d1b
commit 7e51a2f517
3 changed files with 3 additions and 2 deletions

View File

@@ -351,7 +351,7 @@ function getTextWidth(column, rows, canvas, columnWidthBy) {
}
}
/* Gracefull */
width += 2;
width += 8;
return width;
}

View File

@@ -793,8 +793,8 @@ export function ResultSet() {
(procQueryData, procColumns, procRows)=>{
setRowsResetKey((prev)=>prev+1);
setQueryData(procQueryData);
setColumns(procColumns);
setRows(procRows);
setColumns(procColumns);
},
(planJson)=>{
/* No need to open if plan is empty */