Angular 4: Get Distinct Record From Array List Object Typescript

Angular 4: Get Distinct Record From Array List Object Typescript



 this._HeadList =this._AllList.filter(
            (obj, idx, arr) => (arr.findIndex((o) => o.Supplier_ID === obj.Supplier_ID) === idx)
        );


Comments

Popular posts from this blog

Convert Html Code to Image JPG PNG in asp.net C#