COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: TheSun on 25 Jan 2018 01:28:44 AM

Title: Creating a button to switch between pages or tables
Post by: TheSun on 25 Jan 2018 01:28:44 AM
I need to create a dashboard with report studio since some limitation in active report is not acceptable for my client.

I want to simulate the deck function in active report to switch between views or charts within a page.

Thanks for any advice.

Sunny
Title: Re: Creating a button to switch between pages or tables
Post by: BigChris on 25 Jan 2018 02:02:56 AM
I'd probably go for something like a radio group with auto submit switched on, which I'd couple with a render variable and an associated block for each of view and charts.
Title: Re: Creating a button to switch between pages or tables
Post by: TheSun on 25 Jan 2018 03:20:49 AM
I know radio button group is built-in for active report but how can I achieve the same effect in normal report. Or is there ways to create buttons with function without the help of JavaScript?

Thank you for the reply.
Title: Re: Creating a button to switch between pages or tables
Post by: BigChris on 25 Jan 2018 04:41:44 AM
A radio button is just a way of viewing a value prompt
Title: Re: Creating a button to switch between pages or tables
Post by: TheSun on 25 Jan 2018 07:24:01 PM
The result looks good for me and the last thing I have to do is to make it fancy.

Thank you for the answer.  ;D
Title: Re: Creating a button to switch between pages or tables
Post by: BigChris on 26 Jan 2018 02:21:08 AM
You're welcome - I know you can do amazing things with JavScript, but I've never really delved into it so I tend to shy away from it if there's another way to achieve what I need.