Skip to content

Commit

Permalink
Merge pull request #14434 from IgniteUI/dpetev/exporter-api-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
damyanpetev authored Jun 25, 2024
2 parents 445b518 + 5f40da0 commit 0d53ff4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions projects/igniteui-angular/src/lib/grids/common/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface IGridCellEventArgs extends IBaseEventArgs {
/** Represents the grid cell that triggered the event. */
cell: CellType;
/**
* Represents the original event that ocurred
* Represents the original event that occurred
* Examples of such events include: selecting, clicking, double clicking, etc.
*/
event: Event;
Expand All @@ -35,7 +35,7 @@ export interface IGridRowEventArgs extends IBaseEventArgs {
/** Represents the grid row that triggered the event. */
row: RowType;
/**
* Represents the original event that ocurred
* Represents the original event that occurred
* Examples of such events include: selecting, clicking, double clicking, etc.
*/
event: Event;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ export class IgxGridToolbarComponent implements OnDestroy {
/**
* Gets/sets the grid component for the toolbar component.
*
* @deprecated since version 17.1.0.
* No longer required to be set for the Hierarchical Grid child grid template
* @deprecated since version 17.1.0. No longer required to be set for the Hierarchical Grid child grid template
*
* @remarks
* Usually you should not set this property in the context of the default grid/tree grid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ export abstract class IgxBaseExporter {
return result;
}

public addPivotRowHeaders(grid: any) {
private addPivotRowHeaders(grid: any) {
if (grid?.pivotUI?.showRowHeaders) {
const headersList = this._ownersMap.get(DEFAULT_OWNER);
const enabledRows = grid.pivotConfiguration.rows.filter(r => r.enabled).map((r, index) => ({ name: r.displayName || r.memberName, level: index }));
Expand All @@ -1298,7 +1298,7 @@ export abstract class IgxBaseExporter {
}
}

public addPivotGridColumns(grid: any) {
private addPivotGridColumns(grid: any) {
if (grid.nativeElement.tagName.toLowerCase() !== 'igx-pivot-grid') {
return;
}
Expand Down

0 comments on commit 0d53ff4

Please sign in to comment.