You may override drawHighlightIndicator, drawCaretIndicator and
drawSelectionIndicator.
There you can use the itemRenderer istance to check if the highlighting for
that item is applicable or not.

On Wed, Sep 24, 2008 at 12:40 PM, tungchau81 <[EMAIL PROTECTED]> wrote:

>   Thanks, Amy.
> I tried setting mouseChildren to false for parent nodes and it worked,
> but I no longer was able to click on the default arrow icon to expand
> and collapse a node...
> I did not state my question clearly earlier. I still want users to be
> able to collapse and expand a node, but the containing row of the node
> should not selectable. This means no highlighting color shows up when
> users attempt to select those rows in a table.
> Regards,
> Tung Chau
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Amy"
> <[EMAIL PROTECTED]> wrote:
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>,
> "tungchau81" <tungchau81@> wrote:
> > >
> > > Hi,
> > > I have an AdvancedDataGrid and I only want to me rows of leaf nodes
> > > selectable. Rows of parent nodes should not be selectable. However,
> > > AdvancedDataGrid only has a global "selectable" property. Any
> advice
> > on
> > > how to do this is greatly appreciated.
> >
> > Try extending AdvancedDataGridGroupItemRenderer and set MouseChildren
> > on it to false.
> >
> > HTH;
> >
> > Amy
> >
>
>  
>



-- 
Marcelo Curi Savioli
DClick Web & Mobile Solutions
[EMAIL PROTECTED]
www.dclick.com.br/blog
www.dclick.com.br

Reply via email to