Category : filter

I have this angularJS view that I want to render a date with this format: MMM YYYY My data is giving me the modified date as a string like "20210410072612" I have: {{item.default[‘Date modified’].substr(4,2) | date:’MMM’}} {{item.default[‘Date modified’].substr(0,4)}} The results from this are: Jan 2021 The correct result should be Apr 2021 since when I ..

Read more

I am trying to implement AG Grid Enterprise filter feature applyMiniFilterWhileTyping configuration. I have the below configuration in my column. ‘{ field: ‘country’, filter: ‘agSetColumnFilter’, filterParams: { applyMiniFilterWhileTyping: true, }, }’ But when I type inside mini search filter, the grid data is not filtering only filter list get updated. Note : I am using ..

Read more

Custom sorting and filtering work fine individually, but after applying a local filter, the custom sorting doesn’t work. On printing the sorting output on the console it gives the expected output, but the same isn’t being updated on the frontend. Here is the stackblitz implementation to the issue: https://stackblitz.com/edit/github-ot8vny?file=src/app/app.component.ts Source: Angular..

Read more

Im requesting a web service and receiving an observable and loop them to build another array of objects like below. export interface Seller { email?:String; isOnline?:boolean; name?:String; } Angular Component : sellers: Observable<Seller[]>; constructor(firestore: AngularFirestore) { this.sellers = firestore.collection(‘sellers’).valueChanges(); } getSllers(){ return this.sellers; } Using these sellers Observable im creating an array of objects. getSellerDetails() ..

Read more