Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

registerEntityRows

Generic types:T

registers the rows with the mark and delete functionality.

Presentation

function registerEntityRows(feature: string, entity: string, rows: T[]): T[];

Returns

T[] -

the rows that were passed in with the isDirty flag set to false

Parameters

NameTypeDescription
feature
string

the feature the rows belong to

entity
string

the entity within the feature the rows belong to

rows
T[]

the rows to register with the mark and delete functionality