0

Need to disable selection-arrow in the listbox.

asked 2010-04-13 07:46:44 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

We have been using Listbox without any customization.

When we select a Listitem, a tiny selection-arrow on left of the Listitem appears.

We don't need that arrow indicator, hence looking a way to disable it.

Can anybody give me a hint to do the same?

Thanks.

My Work environment details:
ZK package 5.0.1
ZK Studio 0.9.6
Eclipse 3.5

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2010-04-14 01:00:39 +0800

grobschnitt gravatar image grobschnitt
12

updated 2010-04-14 01:02:14 +0800

You can use custom css:

tr.z-listitem td.z-listitem-focus {
	background: none;
}

link publish delete flag offensive edit

answered 2010-04-15 02:09:27 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

Thank you grobschnitt.

This effectively removes the little arrow but, as a side-effect, the first column loses its selection background.

Only the first column loses its selection background, but the other columns have it set properly.

Thank you.

link publish delete flag offensive edit

answered 2010-04-16 01:39:51 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

Solved using the following style code:

tr.z-listitem td.z-listitem-focus { background-image:none;
		background-repeat:no-repeat;}

link publish delete flag offensive edit

answered 2012-02-28 11:34:27 +0800

cawink gravatar image cawink
27 1

And a Tree, what is the style code to remove the selection-arrow ?

Thanks

link publish delete flag offensive edit

answered 2012-02-29 02:04:32 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Take a look of the tree.css.dsp. Search focusd.gif.

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-04-13 07:46:44 +0800

Seen: 593 times

Last updated: Feb 29 '12

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