List Info

Thread: change appearance os tableselectmany




change appearance os tableselectmany
country flaguser name
Germany
2007-08-29 19:25:02
i'd like to hide the checkbox because selected state should
be marked by drawing a border on selected rows ... so, i'm
wondering how this can be done?

thanks
chistian

Re: change appearance os tableselectmany
user name
2007-08-30 10:12:10
You could use a custom renderer, or use JavaScript to hide
the
checkbox and add on on click method to each of the labels
that sets
the checked flag

On 8/29/07, Christian Klocker <christian.klockergooglemail.com> wrote:
> i'd like to hide the checkbox because selected state
should be marked by drawing a border on selected rows ...
so, i'm wondering how this can be done?
>
> thanks
> chistian
>

Re: change appearance os tableselectmany
country flaguser name
Germany
2007-08-30 10:43:16
hi andrew,
> You could use a custom renderer, or use JavaScript to
hide the
> checkbox and add on on click method to each of the
labels that sets
> the checked flag

i think i'll try the custom renderer approach because i have
controls inside table-rows so your suggested label-approach
seems impossible and i'd like to support browsers with
disabled javascript too.

which do i have to extend
(org.apache.myfaces.trinidadinternal.renderkit.core.desktop.
DesktopTableRenderer) ?

thanks
christian

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )