0

adding scroll bar to list box

asked 2016-03-24 01:17:14 +0800

vidulak gravatar image vidulak
0

Currently all list boxes and gris in our application have pagination. We want to change them to have scroll bars instead. I have tried adding org.zkoss.zul.nativebar and org.zkoss.zul.listbox.rod in zk.xml. The list boxes have vflex set to true. But I cannot see any scroll bars in the list boxes.

Can someone help me to get the scroll bars working?

thanks

delete flag offensive retag edit

Comments

1

first of all, do you see all the content => yes set height attribute. => No, inspect with developer tools. I'm sure your listbox is bigger then the component it's in, so you have in parent components a fault with flexing.

chillworld ( 2016-03-24 07:25:42 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-28 19:57:49 +0800

vidulak gravatar image vidulak
0

Setting the height attribute worked perfectly. Thanks for your help

link publish delete flag offensive edit

Comments

Your welcome

chillworld ( 2016-03-28 20:30:22 +0800 )edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-03-24 01:17:14 +0800

Seen: 32 times

Last updated: Mar 28 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More