Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

Disable apply button when there is no hierarchy selected

Answered
Thiago Santos asked on May 22, 2024

Hello,

Does Flexmonster have a solution to disable the apply button when there is no hierarchy selected? Because if the user clicks on the button without any hierarchy selected, the table will generate an error and the data will not be loaded.

 

Thanks,

Thiago

 

Attachments:
evidence-1
evidence-2

1 answer

Public
Maksym Diachenko Maksym Diachenko Flexmonster May 27, 2024

Hello, Thiago!

Thank you for your question.

Note that the field layout from evidence-1 is valid. The error message is most likely caused by an invalid data format in the data returned from the custom API server. We recommend investigating the responses and finding a possible reason for this behavior.
Alternatively, it is possible to disable the "Apply" button based on certain conditions. The approach and example are provided within the following Help Center reply: https://www.flexmonster.com/question/how-to-validate-pivot-table-fields-changes/#answer-47719 
You can modify the example to fit your requirements.

Hope you will find this information helpful.

Best Regards,
Maksym

Please login or Register to Submit Answer