Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export interface IGridStateInfo {
standalone: true
})
export class IgxGridStateComponent extends IgxGridStateBaseDirective {
/* blazorSuppress */
public override grid = inject<GridType>(IGX_GRID_BASE);
/**
* Restores grid features' state based on the IGridStateInfo object passed as an argument.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class IgxActionStripComponent implements IgxActionStripToken, AfterViewIn
private _viewContainer = inject(ViewContainerRef);
private renderer = inject(Renderer2);
protected el = inject(ElementRef);
/* blazorSuppress */
public cdr = inject(ChangeDetectorRef);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { IScrollStrategy } from './scroll';
standalone: true
})
export class IgxOverlayOutletDirective {
/* blazorSuppress */
public element = inject<ElementRef<HTMLElement>>(ElementRef);

/** @hidden */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const DEFAULT_DIGITS_INFO = '1.0-3';
standalone: true
})
export class IgxColumnComponent implements AfterContentInit, OnDestroy, ColumnType {
/* blazorSuppress */
public grid = inject<GridType>(IGX_GRID_BASE);
private _validators = inject<Validator[]>(NG_VALIDATORS, { optional: true, self: true });

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export interface GridServiceType {
grid: GridType;
/** Represents the type of the CRUD service (Create, Read, Update, Delete) operations on the grid data. */
crudService: any;
/** A service responsible for handling column moving within the grid. It contains a reference to the column, its icon, and indicator for cancelation. */
/** A service responsible for handling column moving within the grid. It contains a reference to the column, its icon, and indicator for cancellation. */
cms: IgxColumnMovingService;

/** Represents a method declaration for retrieving the data used in the grid. The returned values could be of any type */
Expand Down
4 changes: 4 additions & 0 deletions projects/igniteui-angular/grids/core/src/row.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ import { IgxCheckboxComponent } from 'igniteui-angular/checkbox';
standalone: true
})
export class IgxRowDirective implements DoCheck, AfterViewInit, OnDestroy {
/* blazorSuppress */
public grid = inject<GridType>(IGX_GRID_BASE);
/* blazorSuppress */
public selectionService = inject(IgxGridSelectionService);
/* blazorSuppress */
public element = inject<ElementRef<HTMLElement>>(ElementRef);
/* blazorSuppress */
public cdr = inject(ChangeDetectorRef);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,21 +133,25 @@ const MIN_ROW_EDITING_COUNT_THRESHOLD = 2;
export abstract class IgxGridBaseDirective implements GridType,
OnInit, DoCheck, OnDestroy, AfterContentInit, AfterViewInit {

/* blazorSuppress */
public readonly validation = inject(IgxGridValidationService);
/** @hidden @internal */
public readonly selectionService = inject(IgxGridSelectionService);
protected colResizingService = inject(IgxColumnResizingService);
/* blazorSuppress */
public readonly gridAPI = inject<GridServiceType>(IGX_GRID_SERVICE_BASE);
protected transactionFactory = inject(IgxFlatTransactionFactory);
private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);
protected zone = inject(NgZone);
/** @hidden @internal */
public document = inject(DOCUMENT);
/* blazorSuppress */
public readonly cdr = inject(ChangeDetectorRef);
protected differs = inject(IterableDiffers);
protected viewRef = inject(ViewContainerRef);
protected injector = inject(Injector);
protected envInjector = inject(EnvironmentInjector);
/* blazorSuppress */
public navigation = inject(IgxGridNavigationService);
/** @hidden @internal */
public filteringService = inject(IgxFilteringService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export const IgxHierarchicalTransactionServiceFactory = {
wcSkipComponentSuffix */
@Directive()
export abstract class IgxHierarchicalGridBaseDirective extends IgxGridBaseDirective implements GridType {
/* blazorSuppress */
public override gridAPI = inject<IgxHierarchicalGridAPIService>(IGX_GRID_SERVICE_BASE);
/* blazorSuppress */
public override navigation = inject(IgxHierarchicalGridNavigationService);
/**
* Gets/Sets the key indicating whether a row has children. If row has no children it does not render an expand indicator.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ let NEXT_ID = 0;
imports: [NgClass]
})
export class IgxChildGridRowComponent implements AfterViewInit, OnInit {
/* blazorSuppress */
public readonly gridAPI = inject<IgxHierarchicalGridAPIService>(IGX_GRID_SERVICE_BASE);
/* blazorSuppress */
public element = inject<ElementRef<HTMLElement>>(ElementRef);
/* blazorSuppress */
public cdr = inject(ChangeDetectorRef);

@Input()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ import { IForOfState } from 'igniteui-angular/directives';
})
export class IgxRowIslandComponent extends IgxHierarchicalGridBaseDirective
implements AfterContentInit, AfterViewInit, OnChanges, OnInit, OnDestroy {
/* blazorSuppress */
public rowIslandAPI = inject(IgxRowIslandAPIService);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ const MINIMUM_COLUMN_WIDTH_SUPER_COMPACT = 104;
})
export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnInit, AfterContentInit,
PivotGridType, AfterViewInit, OnChanges {
/* blazorSuppress */
public override readonly gridAPI = inject<GridBaseAPIService<IgxGridBaseDirective & GridType>>(GridBaseAPIService);
/* blazorSuppress */
public override navigation = inject(IgxPivotGridNavigationService);
protected override colResizingService = inject(IgxPivotColumnResizingService);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { IgxCheckboxComponent } from 'igniteui-angular/checkbox';
imports: [IgxGridForOfDirective, IgxGridCellComponent, NgClass, NgStyle, IgxCheckboxComponent, IgxGridNotGroupedPipe, IgxGridCellStylesPipe, IgxGridTransactionStatePipe, IgxPivotGridCellStyleClassesPipe]
})
export class IgxPivotRowComponent extends IgxRowDirective {
/* blazorSuppress */
public override grid = inject<PivotGridType>(IGX_GRID_BASE);
protected viewRef = inject(ViewContainerRef);

Expand Down
Loading