@@ -575,7 +575,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
575575 * ```html
576576 * <igx-grid #grid [showToolbar]="true" [rowEditable]="true" [primaryKey]="'ProductID'" [columnHiding]="true"></igx-grid>
577577 * ```
578- * @memberof IgxGridBaseDirective
579578 */
580579 @WatchChanges ( )
581580 @Input ( )
@@ -643,6 +642,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
643642
644643 /**
645644 * Gets the width of the header.
645+ * @example
646646 * ```html
647647 * let gridHeaderWidth = this.grid.headerWidth;
648648 * ```
@@ -1049,7 +1049,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
10491049 * <igx-grid #grid3 (onCellEditCancel)="editCancel($event)" [data]="data" [primaryKey]="'ProductID'">
10501050 * </igx-grid>
10511051 * ```
1052- * @memberof IgxGridComponent
10531052 */
10541053 @Output ( )
10551054 public onCellEditCancel = new EventEmitter < IGridEditEventArgs > ( ) ;
@@ -1063,7 +1062,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
10631062 * <igx-grid #grid3 (onCellEditEnter)="editStart($event)" [data]="data" [primaryKey]="'ProductID'">
10641063 * </igx-grid>
10651064 * ```
1066- * @memberof IgxGridComponent
10671065 */
10681066 @Output ( )
10691067 public onCellEditEnter = new EventEmitter < IGridEditEventArgs > ( ) ;
@@ -1092,7 +1090,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
10921090 * <igx-grid #grid3 (onRowEditEnter)="editStart($event)" [primaryKey]="'ProductID'" [rowEditable]="true">
10931091 * </igx-grid>
10941092 * ```
1095- * @memberof IgxGridComponent
10961093 */
10971094 @Output ( )
10981095 public onRowEditEnter = new EventEmitter < IGridEditEventArgs > ( ) ;
@@ -2955,7 +2952,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
29552952 * <igx-grid #grid [data]="data" [(expansionStates)]="model.expansionStates">
29562953 * </igx-grid>
29572954 * ```
2958- * @memberof IgxGridComponent
29592955 */
29602956 @Input ( )
29612957 public get expansionStates ( ) {
@@ -2976,7 +2972,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
29762972 * ```typescript
29772973 * this.grid.expandAll();
29782974 * ```
2979- * @memberof IgxGridBaseDirective
29802975 */
29812976 public expandAll ( ) {
29822977 this . _defaultExpandState = true ;
@@ -2989,7 +2984,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
29892984 * ```typescript
29902985 * this.grid.collapseAll();
29912986 * ```
2992- * @memberof IgxGridBaseDirective
29932987 */
29942988 public collapseAll ( ) {
29952989 this . _defaultExpandState = false ;
@@ -3004,6 +2998,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
30042998 * ```typescript
30052999 * this.grid.expandRow(rowID);
30063000 * ```
3001+ * @param rowID The row id - primaryKey value or the data record instance.
30073002 */
30083003 public expandRow ( rowID : any ) {
30093004 this . gridAPI . set_row_expansion_state ( rowID , true ) ;
@@ -3017,7 +3012,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
30173012 * ```typescript
30183013 * this.grid.collapseRow(rowID);
30193014 * ```
3020- * @memberof IgxGridBaseDirective
3015+ * @param rowID The row id - primaryKey value or the data record instance.
30213016 */
30223017 public collapseRow ( rowID : any ) {
30233018 this . gridAPI . set_row_expansion_state ( rowID , false ) ;
@@ -3032,14 +3027,18 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
30323027 * ```typescript
30333028 * this.grid.toggleRow(rowID);
30343029 * ```
3035- * @memberof IgxGridBaseDirective
3030+ * @param rowID The row id - primaryKey value or the data record instance.
30363031 */
30373032 public toggleRow ( rowID : any ) {
30383033 const rec = this . gridAPI . get_rec_by_id ( rowID ) ;
30393034 const state = this . gridAPI . get_row_expansion_state ( rec ) ;
30403035 this . gridAPI . set_row_expansion_state ( rowID , ! state ) ;
30413036 }
30423037
3038+ /**
3039+ * @hidden
3040+ * @internal
3041+ */
30433042 public getDefaultExpandState ( rec : any ) {
30443043 return this . _defaultExpandState ;
30453044 }
@@ -3528,7 +3527,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
35283527 * ```typescript
35293528 * grid.moveColumn(compName, persDetails);
35303529 * ```
3531- * @memberof IgxGridBaseDirective
35323530 */
35333531 public moveColumn ( column : IgxColumnComponent , dropTarget : IgxColumnComponent , pos : DropPosition = DropPosition . None ) {
35343532
@@ -4837,7 +4835,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
48374835 * ```typescript
48384836 * const dataView = this.grid.dataView;
48394837 * ```
4840- * @memberof IgxGridComponent
48414838 */
48424839 get dataView ( ) : any [ ] {
48434840 return this . verticalScrollContainer . igxForOf ;
@@ -5186,7 +5183,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
51865183 * ```typescript
51875184 * const nextEditableCellPosition = this.grid.getNextCell(0, 3, (column) => column.editable);
51885185 * ```
5189- * @memberof IgxGridBaseDirective
51905186 */
51915187 public getNextCell ( currRowIndex : number , curVisibleColIndex : number ,
51925188 callback : ( IgxColumnComponent ) => boolean = null ) : ICellPosition {
@@ -5220,7 +5216,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
52205216 * ```typescript
52215217 * const previousEditableCellPosition = this.grid.getPreviousCell(0, 3, (column) => column.editable);
52225218 * ```
5223- * @memberof IgxGridBaseDirective
52245219 */
52255220 public getPreviousCell ( currRowIndex : number , curVisibleColIndex : number ,
52265221 callback : ( IgxColumnComponent ) => boolean = null ) : ICellPosition {
0 commit comments