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 0d32977 commit d9c6771Copy full SHA for d9c6771
projects/igniteui-angular/src/lib/grids/column.component.ts
@@ -1687,8 +1687,8 @@ export class IgxColumnComponent implements AfterContentInit {
1687
*/
1688
public get pinnable() {
1689
const gridUnpinnedWidth = (this.grid as any).getUnpinnedWidth(true);
1690
- const columnWidth = parseInt(this.width, 10);
1691
- 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);
1692
}
1693
1694
/**
0 commit comments