Skip to content

integration with @ngrx/data #71

@xindexer

Description

@xindexer

I'm using @ngrx/data for my CRUD application, is there an elegant way to subscribe to the data store so that when I call an update in ngrx/data the table reflects the changes? Right now I have two stores, the grid store and the data store. Here's how I'm initializing the grid.

this.officeService.getAll() .subscribe( result => { this.store.dispatch( initGrid({ name: this.gridName, data: result, columns: this.columnConfig, paginationPageSize: 50 }) ); }); }

is there a better way? or is this an enhancement to integrate the two?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions