You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Christian Klocker <ch...@googlemail.com> on 2007/08/30 02:25:02 UTC

[Trinidad] change appearance os tableselectmany

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: [Trinidad] change appearance os tableselectmany

Posted by Christian Klocker <ch...@googlemail.com>.
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

Re: [Trinidad] change appearance os tableselectmany

Posted by Andrew Robinson <an...@gmail.com>.
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 <ch...@googlemail.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
>