We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec6036 commit 0529640Copy full SHA for 0529640
packages/core/src/internal/data-grid/render/data-grid-render.lines.ts
@@ -317,6 +317,8 @@ export function drawGridLines(
317
}
318
ctx.clip("evenodd");
319
320
+
321
+ const effectiveWidth = effectiveCols.reduce((acc, col) => acc + col.width, 0);
322
const hColor = theme.horizontalBorderColor ?? theme.borderColor;
323
const vColor = theme.borderColor;
324
@@ -345,6 +347,7 @@ export function drawGridLines(
345
347
346
348
349
350
+ width = Math.min(width, effectiveWidth);
351
let rightX = width + 0.5;
352
for (let index = effectiveCols.length - 1; index >= 0; index--) {
353
const c = effectiveCols[index];
0 commit comments