LazyLoadevent filters

UI Components for Angular
Post Reply
Posts: 5
Joined: 03 Dec 2018, 14:40

03 Jan 2019, 19:37

Hi Team,

I am trying to access filters of lazy load event. . but unable to check whether filters present or not by using length property.

So, let me know how to access event.filters. How can i check whether filters present or not in lazy load event.

I already tried like as follows.

if(event.filters!=undefined && event.filters["name"]!=undefined)
But it didn't worked.


User avatar
Posts: 97
Joined: 29 Sep 2016, 04:21

03 Jan 2019, 22:54

Checking event.filters['filterName'] works for me. Make sure the name is correct.
You can also check Object.keys(event.filters).length

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests