Hi,
Lets say the table is as,
Gender \t Name \t Nationality \t Balance
Male \t Bob \t French \t +50
Male \t Rob \t American \t +20
Male \t Cobb \t American \t -10
Female \t Alice \t French \t -30
Female \t Mary \t American \t +50
Now, I would like the first view to be collapsed by default....say,
Gender \t Name \t Nationality \t Balance
Male \t \t \t +60
Female \t \t \t +20
Now, on uncollapsing Male (by any interactive event), I get,
Gender \t Name \t Nationality \t Balance
Male \t Bob \t French \t +50
Male \t \t American \t +10
Female \t \t \t +20
The thing is, from the completely uncollapsed table, I can generate a different grouping also, viz.
Gender \t Name \t Nationality \t Balance
\t \t American \t +60
\t \t French \t +20
I dont like the TreeView output, because, it forces a particular order of grouping .... I must force the user to open up the "Male" node, then the "Nationality" node, and finally click on a person to see balance. And, from a completely un-collapsed tree, it is not easy to see cumulative statistics for a different kind of grouping. I was hoping there was something intuitively responding like the SQL group by statements ... I have seen several such examples in JavaScript (Yahoo's YUI library has one built in)...but I wanted to use QT since my data has a real-time aspect to it, and standards suggested Qt was fast in these settings.
Thanks. (and sorry for the messy table output)
Bookmarks