You need to determine which rows are parents, which can be done by 
identifying all children and then finding their parents.  Test each row to 
see whether or not it is a parent row to determine which classes to apply: 
http://jsfiddle.net/asgallant/RjHMH/19/ 

On Thursday, June 28, 2012 12:04:30 PM UTC-4, Marco Megna wrote:
>
> How can I filter only the rows with child-rows?
> (in the example  "Foo 2" and "Bar 1") 
>
> I want to set the classname (open or close) only to the rows with 
> child-rows.
> http://jsfiddle.net/MarcoM/RjHMH/ 
>
> Thanks,
> Marco
>
>
> Il giorno giovedì 28 giugno 2012 17:37:04 UTC+2, Marco Megna ha scritto:
>>
>> I've made some improvements.
>> http://jsfiddle.net/MarcoM/RjHMH/
>>
>> Bye,
>> Marco 
>>
>>
>>
>> Il giorno lunedì 25 giugno 2012 17:53:41 UTC+2, Marco Megna ha scritto:
>>>
>>> Thanks a lot!
>>> Is exactly what I wanted!
>>>
>>> I start take a look to the code now. 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/ugz6OpuKJUUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to