Class IgxGridStateDirective

Hierarchy

Hierarchy

  • IgxGridStateBaseDirective
    • IgxGridStateDirective

Properties

Accessors

Methods

Properties

grid: GridType
stateParsed: EventEmitter<IGridState> = ...

Event emitted when set state is called with a string. Returns the parsed state object so that it can be further modified before applying to the grid.

this.state.stateParsed.subscribe(parsedState => parsedState.sorting.forEach(x => x.strategy = NoopSortingStrategy.instance()});

Accessors

Methods

  • Gets the state of a feature or states of all grid features, unless a certain feature is disabled through the options property.

    Parameters

    • serialize: boolean = true
    • features: (keyof IGridStateOptions) | (keyof IGridStateOptions)[]

    Returns string | IGridState