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 06fa831 commit 94a767fCopy full SHA for 94a767f
projects/igniteui-angular/src/lib/grids/column.component.ts
@@ -1653,8 +1653,8 @@ export class IgxColumnComponent implements AfterContentInit {
1653
*/
1654
public get pinnable() {
1655
const gridUnpinnedWidth = (this.grid as any).getUnpinnedWidth(true);
1656
- const columnWidth = parseInt(this.width, 10);
1657
- return !((gridUnpinnedWidth - columnWidth) < this.grid.unpinnedAreaMinWidth);
+ const elementWidth = this.parent ? parseInt(this.topLevelParent.width, 10) : parseInt(this.width, 10);
+ return !((gridUnpinnedWidth - elementWidth) < this.grid.unpinnedAreaMinWidth);
1658
}
1659
1660
/**
0 commit comments