COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: xyz on 09 Feb 2015 12:55:40 AM

Title: java script to display radio button group 2 horizontal instead of vertical in 10
Post by: xyz on 09 Feb 2015 12:55:40 AM
Hi Gurus,

I need a java script to display radio button group to horizontally instead of vertically in cognos 10.2.1 and my data source is relational mode. In my prompt page I have other prompts with check box option. If I am using below java script the check box prompts is going hay wire. Can some one help me with the below java script.

<style>
.clsCheckBoxList, .clsRadioGroupList {
      width: 30%;
    margin-right: 5px;
margin-left: 5px;

}

.clsCheckBoxRow, .clsCheckBox
{
    width: 30%;
    float: left;
margin-right:5px;
margin-left: 5px;

}
</style>

From the above script, if I try to remove .clsCheckBoxRow, .clsCheckBox section then my script is not working, if I use it then other prompts with check box option in my prompt page is going hay wire.

Your help is much appreciated :)

Thanks in advance.

Thanks & Regards,
XYZ
Title: Re: java script to display radio button group 2 horizontal instead of vertical in 10
Post by: bdbits on 09 Feb 2015 04:29:41 PM
Check this, be sure to scroll all the way through the thread as there are some changes made over time.

http://www.cognoise.com/index.php?topic=6512.5 (http://www.cognoise.com/index.php?topic=6512.5)

(By the way, you have a post in there. :) )
Title: Re: java script to display radio button group 2 horizontal instead of vertical in 10
Post by: xyz on 10 Feb 2015 06:32:17 AM
Hi bdbits,

Thank you very much, you help is much appreciated.

I didn't search for the code in cognoise site. I didn't realize that I too had a post in the provided link :)


Thanks & Regards,
XYZ