|Conditionally hiding report parameters [message #641332]
||Wed, 24 November 2010 22:40
| Josh Hall
Registered: October 2010
I am able to make report parameters hidden at design time by setting 'Hidden' to true in the Advanced tab of the Property Editor.
I'd like to be able to set this at run-time and cannot figure out how. I have tried adding the following to the initialize method of the Report Design, however I think this is too late as it doesn't affect the UI at all:-
reportContext.getDesignHandle().findParameter('site_rptParam').hidden = true;
If you're wondering why I want to do this, it's because for certain users I want to force a selection, and for others to make the selection programatically, and hide the parameter on the UI.
Powered by FUDForum
. Page generated in 0.01745 seconds