Hi Guys,
You might have faced the challenged aligning radio button
prompt horizontally as Cognos do not support this behaviour. I found the way to
achieve this using Java Script code. Just follow below steps and you should be
able to get the radio button aligned horizontally.
- Add an HTML Item just before the radio button prompt with below code
<STYLE>
#radio Div.clsCheckBoxRow{
display:inline;
whiteSpace:noWrap;
}
</STYLE>
<div id="radio" >
- Add the second HTML Item next to the radio button prompt with below code
</div>
- Run the report and you should be able to see the radio button aligned horizontally.
