Skip to content

Commit baf294e

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Remove duplicate method.
1 parent 8681bdf commit baf294e

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5638,28 +5638,6 @@ export abstract class IgxGridBaseDirective implements GridType,
56385638
return sum;
56395639
}
56405640

5641-
/**
5642-
* Gets calculated width of the pinned left area.
5643-
*
5644-
* @example
5645-
* ```typescript
5646-
* const pinnedWidth = this.grid.getPinnedWidth();
5647-
* ```
5648-
* @param takeHidden If we should take into account the hidden columns in the pinned area.
5649-
*/
5650-
public getPinnedLeftWidth(takeHidden = false) {
5651-
const fc = takeHidden ? this._pinnedStartColumns : this.pinnedStartColumns;
5652-
let sum = 0;
5653-
for (const col of fc) {
5654-
if (col.level === 0) {
5655-
sum += parseFloat(col.calcWidth);
5656-
}
5657-
}
5658-
sum += this.featureColumnsWidth();
5659-
5660-
return sum;
5661-
}
5662-
56635641
/**
56645642
* @hidden @internal
56655643
*/

0 commit comments

Comments
 (0)