We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115e790 commit d6aeb16Copy full SHA for d6aeb16
src/features/exporter/js/exporter.js
@@ -1535,7 +1535,7 @@
1535
// The standard column width in Microsoft Excel 2000 is 8.43 characters based on fixed-width Courier font
1536
// Width of 10 in excel is 75 pixels
1537
var colWidths = [];
1538
- var startDataIndex = grid.treeBase ? grid.treeBase.numberLevels : 0;
+ var startDataIndex = grid.treeBase ? grid.treeBase.numberLevels : (grid.enableRowSelection !== false ? 1 : 0);
1539
for (var i = startDataIndex; i < grid.columns.length; i++) {
1540
colWidths.push({width: (grid.columns[i].drawnWidth / 75) * 10});
1541
}
0 commit comments