0

Need to customize Combobox popup's scrollbar.

asked 2010-05-10 04:45:56 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

updated 2010-05-10 04:46:41 +0800

We are looking a way to customize the scrollbar displayed while combobox showing the popup.

We have 3 quick questions:
1, Is there any way to disable the scrollbar navigation buttons (or) scrollbar with only thumb bar?
2, Can we able to change the thumb bar image to something else?
3, Alternatively, can we able to integrate jquery scrollpane with the combobox popup?

Any suggestion to customize the scrollpane is welcome :)

Thank you.

Test Code:

<zk>
	<combobox>
		<comboitem label="Item1" />
		<comboitem label="Item2" />
		<comboitem label="Item3" />
		<comboitem label="Item4" />
		<comboitem label="Item5" />
		<comboitem label="Item6" />
		<comboitem label="Item7" />
		<comboitem label="Item8" />
		<comboitem label="Item9" />
		<comboitem label="Item10" />
		<comboitem label="Item11" />
		<comboitem label="Item12" />
		<comboitem label="Item13" />
		<comboitem label="Item14" />
		<comboitem label="Item15" />
		<comboitem label="Item16" />
		<comboitem label="Item17" />
		<comboitem label="Item18" />
		<comboitem label="Item19" />
		<comboitem label="Item20" />
	</combobox>
</zk>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2010-05-16 22:26:41 +0800

PeterKuo gravatar image PeterKuo
481 2

1."scrollbar navigation buttons " do you mean the up and down button? I don't think it's changeable. It's html spec. Unless you implement a layout to mimic mimic currently simple div.

2. for thumb bar, you can use firebug to see how its background image is set.
And follow
http://docs.zkoss.org/wiki/Developer%27s_Guide#Style_Customization

3.http://docs.zkoss.org/wiki/Client_Side_Programming
You can give it a try. I believe it's possible.
At most, you can implement your own zk component.
http://docs.zkoss.org/wiki/How_to_Wrap_a_jQuery_UI_Widget

link publish delete flag offensive edit

answered 2010-05-19 01:10:24 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

Thank you, PeterKuo :)

Your answers cleared all my doubts.

Thank you.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2010-05-10 04:45:56 +0800

Seen: 975 times

Last updated: May 19 '10

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