🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

Show a pivot as disabled

Vesa Tähkävuori asked on March 26, 2019

we have a special use case where the user has to be able to delete and completely regenerate the pivot’s data file (in our case, CSV). The actual question that I have is how to indicate to the user that this process is pending as it might take up to several minutes to complete? Is there a way to show the pivot as currently disabled (gray backround, empty data, “data loading” etc. without the actual update operation).
Simply changing the data file directly would probably run into timeout issues in this particular case. Instead we are planning to use a WebSocket to notify that a new data file is ready, then refresh the pivot with the new data file.
Vesa Tähkävuori

2 answers

Vera Didenko Vera Didenko Flexmonster March 28, 2019

Hello, Vesa,
Thank you for writing to us.

Flexmonster currently doesn’t provide disabled functionality without the actual update operation.
However, there is a way how the desired features can be achieved.
We advise placing a div element on top of the pivot table which will prevent the user from accessing the table. By adjusting the div’s opacity, you can achieve the disabled effect. 
Also, by centering another element on the div, you can create a message box that will notify the user about the current process.
When the WebSocket notifies that a new data file is ready, simply hide the div, thus enabling Flexmonster.
Please let us know if everything works and if you have further questions.
Best Regards,

Vesa Tähkävuori March 28, 2019

Hi Vera,
thank you. I will have a look at this.

Please login or Register to Submit Answer