Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Error in predefined filter or members have not been loaded yet

Answered
Rudolf Brink asked on October 27, 2020

Hello,
I am trying to assign the setFilter functionality from an external button in Angular, however by applying:
 

this.pivot.flexmonster.setFilter(“field”,
{
“members”: [
“field.[x]”
]
}
);
 

I am having the following error: ‘Error in predefined filter or members have not been loaded yet’
 
could you please let me know how I could handle this or what I am missing?
Many thanks.
Rudolf
 

4 answers

Public
Milena Pechura Milena Pechura Flexmonster October 27, 2020

Hello, Rudolf,
 
Thank you for your question.
 
Our team has carefully checked the code you provided, and we can confirm that the filter is set correctly. 
Could you please modify this example in a way the issue is reproducible? This would greatly help us in our further investigation.
 
Looking forward to your response.
 
Best regards,
Milena

Public
Milena Pechura Milena Pechura Flexmonster November 5, 2020

Hi, Rudolf,
 
How are you?
 
We are just checking in to ask whether you still have the error when using the setFilter() API call. 
Has the issue been resolved or is it still there?
 
We would be happy to hear your feedback.
 
Kind regards,
Milena

Public
Rudolf Brink November 5, 2020

Dear Milena, thanks for asking. I have been able to resolve the issue. Many thanks for the follow up. Regards. Rudolf
 

Public
Milena Pechura Milena Pechura Flexmonster November 9, 2020

Hello, Rudolf,
 
Our team is glad to hear that the issue is resolved.
 
Do not hesitate to contact us in case any further questions arise. We would be glad to assist you.
 
Best regards,
Milena

Please login or Register to Submit Answer