Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How can i add Horizantal scrollbar in jsf

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i m trying to add horizantal scrollbar in selectManyListBox in jsf,
i have tried all posible options, but it was not working in jsf,
can anyone please give me better solution ASAP???



Thanks in advance,
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
horizontal scroll bar appears automatically in selectManyListBox when you define the size of your list box. If the values that the list takes exceed that box that you have defined, the scroll bar would appear.
 
Ganeshsharma Ballijapally
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vaibhav,

Thank you for your reply..

but..i have defined size in selectManyListBox, it is showing vertical scroll bar only not horizontal.

here is the code:

h:selectManyListbox styleClass="icwMulti" style="width:200px;" id="selectedProductFamilies" size="10" >
<f:selectItems value="#{downLoad.productFamilies}" ></f:selectItems>
</h:selectManyListbox>

 
Ganeshsharma Ballijapally
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,


Can anyone do help on this issue???




thanks in advence,
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ganesh,

The combo-box does not support horizontal scroll bars. You will need some Client-side scripting to make a horizontal scroll bar appear with the combo-box.

Do refer
http://www.codeproject.com/KB/scripting/WithHorizontalScrollbar.aspx

Thanks,
Praison
 
Ganeshsharma Ballijapally
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Praison,

Thank you very much !!!
 
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic