How to Determine the Effective Visibility of the Angular Viewer Parameters Area
|Product||Progress® Telerik® Reporting|
In the Angular Report Viewer component, one may successfully control the visibility of the parameter area with the means of the parametersAreaVisible option. However, it cannot be used to determine what is the current state of the parameters area visibility that may have changed due to user interaction with the viewer.
The parametersAreaVisible as any other option of the viewer specifies only the initial/default value of the corresponding property, and its value is not updated afterward. That's why it is not possible to take the state of the parameters area visibility from it.
As a workaround, you may use jQuery to get the html element of the parameters area and check whether its width is 0. If so, the parameters area is hidden. This may be done, for example, on the updateUi event. Here is also the code for selecting the area and taking its width: