COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: pucovsky on 11 Mar 2011 09:12:07 AM

Title: Hiding A Row In List
Post by: pucovsky on 11 Mar 2011 09:12:07 AM
Hi

I have a list container and I want to create a button on report page that will show/hide some rows from list.
As I understand, using HTML item and JavaScript is necessary.
Can somebody advise me how to do this?

Thx.

Title: Re: Hiding A Row In List
Post by: Lynn on 11 Mar 2011 09:29:27 AM
or you could try a conditional style and have the report drill through to itself using a parameter for the show/hide.
Title: Re: Hiding A Row In List
Post by: barrysaab on 11 Mar 2011 10:12:29 AM
Lynn,Could you please elaborate and give non java script solution.Thanks
Title: Re: Hiding A Row In List
Post by: Lynn on 11 Mar 2011 10:56:56 AM
I belatedly realized the question was to hide a row (not a column)... Here is a similar concept but using a filter rather than conditional style.

Here is what I did: