Customized tree list

Hi,

I have build a tree list based on the beer tree list protocol example to get a tree list based on the following path:

Path := '/Tests/' . group . '/' . element

Then it's displayed like this:

+ Title

   + group 1

               element 1 with checkbox

               ...

               element n with checkbox    

And it's what I needed except that I would like to be able to select all the elements of a given group by clicking just once (so either by adding a checkbox in front of the group name or by clicking the group name).

What I didn't find is how to customized the groups!

Hope this description is not to blur.

Thanks for your help!

Florent