Unplanned
Last Updated: 05 Feb 2021 15:10 by ADMIN
Claudio
Created on: 22 Jan 2021 13:48
Type: Bug Report
1
getter for parametersAreaVisible property

The parametersAreaVisible property of the angular report viewer allows controlling the visibility of the report parameters area.

Currently, this property can only be set. Reading the property doesn't reflect the current visibility of the report parameters area.

While jquery can be used as a work around to determine the visibility of the report parameters area (by reading the width of the corresponding DOM element), a proper angular API would be nice.

3 comments
ADMIN
Dimitar
Posted on: 05 Feb 2021 15:10

Hello Claudio,

I discussed your request with the developers and we agreed that this is something that should be implemented, in fact, we have decided to change the type of this to a bug so that it has higher priority.

As always, please don't hesitate to ask if you have any other questions. Thank you for using Telerik Reporting.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Claudio
Posted on: 29 Jan 2021 13:53
Hi Dimitar

In my case, I want to persist the visibility of the parameters area in the applications data model (namely in the user settings).
So that when a user toggles the visibility of the parameters by clicking on the toolbar button in the report viewer or by changing the user setting, the parameter area is shown/hidden accordingly.

I can control the visibility of the parameters are according to the user setting when showing the report viewer (through the existing API). But there is no API to read the current visibility when leaving the report viewer in order to persist the current visibility in the user setting. Currently, I'm using a workaround by accessing the DOM elements directly. But that's not nice.

Kind regards
Claudio 
 
ADMIN
Dimitar
Posted on: 29 Jan 2021 13:28

Hello Claudio,

Usually, the parameters area is visible when at least one report parameter's Visible property is set to true. If you want to hide the parameters area the easiest way would be to set the report parameter's visible property to false. With that being said, could please explain a little more about your scenario so that we can have a better understanding of what issues such a feature would solve.

I look forward to receiving an update from you.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.