# Need to disable selection-arrow in the listbox.

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 retag edit

## 5 Replies

grobschnitt
12

You can use custom css:

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


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.

526 2 2 9

Solved using the following style code:

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

cawink
27 1

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

Thanks

henrichen
3869 2

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

[hide preview]