• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can i add Horizantal scrollbar in jsf

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI Praison,

Thank you very much !!!
reply
    Bookmark Topic Watch Topic
  • New Topic