File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
projects/igniteui-angular/src/lib/grids/tree-grid Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ export class IgxTreeGridComponent extends IgxGridBaseDirective implements GridTy
645
645
* @inheritdoc
646
646
*/
647
647
getSelectedData(formatters = false, headers = false): any[] {
648
- const source = [];
648
+ let source = [];
649
649
650
650
const process = (record) => {
651
651
if (record.summaries) {
@@ -656,6 +656,7 @@ export class IgxTreeGridComponent extends IgxGridBaseDirective implements GridTy
656
656
};
657
657
658
658
this.dataView.forEach(process);
659
+ source = this.isRowPinningToTop ? [...this.pinnedDataView, ...source] : [...source, ...this.pinnedDataView];
659
660
return this.extractDataFromSelection(source, formatters, headers);
660
661
}
661
662
You can’t perform that action at this time.
0 commit comments