Here i Implemented small search filter on a table But My Requirement is its should search whole the table not within the page?
search
<label> Search FRom Table:</label> <input (change)="someval($event.target.value)">
someval(value){
let data=JSON.stringify(value);
console.log(data.length);
this.auction.find(e=>e.uniqueid=data);
this.GetDashBoardData();
}
GetDashBoardData(){
var somedata= this.globalService.getBasicInfoData();
this.auctionRequest = {
"loginId": this.userdata.LoginID
};
return this.httpService.dashbordTheUser2(this.auctionRequest).subscribe((response) => {
this.auction = response.data;
}
Here i change slight like When i enter some text in textbox its fing in Array of This.auction but i dont know how can i bind this in table
<tr *ngFor="let value of pagedItems">
<td>{{value.name}}</td>