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 b101b2f commit 1e9d31dCopy full SHA for 1e9d31d
projects/igniteui-angular/src/lib/grids/grid-base.directive.ts
@@ -5544,10 +5544,9 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
5544
5545
if (!this.clipboardOptions.copyHeaders) {
5546
result = result.substring(result.indexOf('\n') + 1);
5547
- if (Object.values(data[0]).length === 1) {
5548
- result = result.substring(data[0], result.indexOf('\n'));
5549
- }
5550
- } else if (Object.values(data[0]).length === 1 && this.clipboardOptions.copyHeaders) {
+ }
+
+ if (Object.values(data[0]).length) {
5551
result = result.slice(0, -2);
5552
}
5553
0 commit comments