@@ -66,18 +66,34 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent implem
6666 super ( ref , cdr ) ;
6767 }
6868
69- /** The virtualized part of the header row containing the unpinned header groups. */
69+ /**
70+ * @hidden
71+ * @internal
72+ * The virtualized part of the header row containing the unpinned header groups. */
7073 @ViewChildren ( 'headerVirtualContainer' , { read : IgxGridForOfDirective } )
7174 public headerContainers : QueryList < IgxGridForOfDirective < IgxGridHeaderGroupComponent > > ;
7275
7376 public get headerForOf ( ) {
7477 return this . headerContainers . last ;
7578 }
7679
80+ /**
81+ * @hidden
82+ * @internal
83+ */
7784 @ViewChildren ( 'notifyChip' )
7885 public notificationChips : QueryList < IgxChipComponent > ;
7986
87+ /**
88+ * @hidden
89+ * @internal
90+ */
8091 public columnDimensionsByLevel : any [ ] = [ ] ;
92+
93+ /**
94+ * @hidden
95+ * @internal
96+ */
8197 public get totalDepth ( ) {
8298 const columnDimensions = this . grid . columnDimensions ;
8399 if ( columnDimensions . length === 0 ) {
@@ -90,27 +106,46 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent implem
90106 return totalDepth ;
91107 }
92108
109+ /**
110+ * @hidden
111+ * @internal
112+ */
93113 public get maxContainerHeight ( ) {
94114 return this . totalDepth > 1 ? this . totalDepth * this . grid . renderedRowHeight : undefined ;
95115 }
96116
117+ /**
118+ * @hidden
119+ * @internal
120+ */
97121 public calcHeight ( col : ColumnType , index : number ) {
98122 return ! col . columnGroup && col . level < this . totalDepth && col . level === index ? ( this . totalDepth - col . level ) * this . grid . rowHeight : this . grid . rowHeight ;
99123 }
100124
125+ /**
126+ * @hidden
127+ * @internal
128+ */
101129 public isDuplicateOfExistingParent ( col : ColumnType , lvl : number ) {
102130 const parentCollection = lvl > 0 ? this . columnDimensionsByLevel [ lvl - 1 ] : [ ] ;
103131 const duplicate = parentCollection . indexOf ( col ) !== - 1 ;
104132
105133 return duplicate ;
106134 }
107-
135+
136+ /**
137+ * @hidden
138+ * @internal
139+ */
108140 public isMultiRow ( col : ColumnType , lvl : number ) {
109141 const isLeaf = ! col . columnGroup ;
110- return isLeaf && lvl !== this . totalDepth - 1 ;
142+ return isLeaf && lvl !== this . totalDepth - 1 ;
111143 }
112144
113-
145+ /**
146+ * @hidden
147+ * @internal
148+ */
114149 public populateColumnDimensionsByLevel ( ) {
115150 const res = [ ] ;
116151 const columnDimensions = this . grid . columnDimensions ;
@@ -143,12 +178,20 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent implem
143178 } ) ;
144179 }
145180
181+ /**
182+ * @hidden
183+ * @internal
184+ */
146185 public ngOnChanges ( changes : SimpleChanges ) {
147186 if ( changes . unpinnedColumnCollection && this . unpinnedColumnCollection . length > 0 ) {
148187 this . populateColumnDimensionsByLevel ( ) ;
149188 }
150189 }
151190
191+ /**
192+ * @hidden
193+ * @internal
194+ */
152195 public onDimDragStart ( event , area ) {
153196 this . cdr . detectChanges ( ) ;
154197 for ( let chip of this . notificationChips ) {
@@ -225,7 +268,7 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent implem
225268 this . grid . setupColumns ( ) ;
226269 this . grid . filteringService . clearFilter ( col . memberName ) ;
227270 this . grid . pipeTrigger ++ ;
228- this . grid . dimensionsChange . emit ( { dimensions : this . grid . pivotConfiguration . columns , dimensionCollectionType : PivotDimensionType . Row } ) ;
271+ this . grid . dimensionsChange . emit ( { dimensions : this . grid . pivotConfiguration . columns , dimensionCollectionType : PivotDimensionType . Row } ) ;
229272 this . grid . reflow ( ) ;
230273 }
231274
0 commit comments