PDA

View Full Version : Grid Multiple Item Grouping How to.



AloneWalker
30 Oct 2009, 1:13 AM
Hello All,
At first sorry to my english. I have a problem bu i can't find how to do this.

I have a grid on my view port and normally i can listed with grouping store by groups But i have some datas my db table such as:

table Theme
-------------
theme_id theme_name Theme_desc
--------- ---------- ----------
10 Theme A Description A
11 Theme B Description B
12 Theme C Description C



table Persons
---------------
person_id has_themes
--------- ----------
1AB 10
1AC 10,11
1AD 10,11,12
1AE 11,12
... ...


i want grouping by theme names in my grid according to these person table theme structure. I can get with json and send my grid
but i want show in my grid if the person has many theme.I mean i want the show according to themes many times in my grid such as:

MY Grid
-----------

- Theme A
-------------------------
1AB
1AC
1AD
------------------------
- Theme B
1AC
1AD
1AE
-----------------------
-Theme C
1AD
1AE


Sorry my english again..

Thanks...