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.
Did it Work on Cognos Analytics 11.0.9 ?
ReplyDeleteI seem to get strange error messages
I cannot thank lemeridian funding service enough and letting people know how grateful I am for all the assistance that you and your team staff have provided and I look forward to recommending friends and family should they need financial advice or assistance @ 1,9% Rate for Business Loan .Via Contact : . lfdsloans@lemeridianfds.com / lfdsloans@outlook.com. WhatsApp...+ 19893943740. Keep up the great work.
ReplyDeleteThanks, Busarakham.
Didnt work....still have the buttons vertically aligned
ReplyDeleteit worked ..thanks a lot
ReplyDelete