PDA

View Full Version : table data sort with group



s_sameer
11-02-2005, 07:00 AM
Hi i have 1 table with 3 coulmns and severals rows
and i want to sort the data dynamically which i am able to do but there is group and child funda for the data in table
eg:
1st Head 2nd Head 3rd Head
4 1111 cccc
1 44c1 xxxx
2 2222 zzzz
7 77c2 ssss
3 3333 aaaa
if i click on 1st column to sort the data its should look as
1st Head 2nd Head 3rd Head
2 2222 zzzz
7 77c2 ssss
3 3333 aaaa
4 1111 cccc
1 44c1 xxxx

as 7 is clild of 2 and 1 is child of 4 i hv wrote 1 scrip whcih works in some extent but fails when group is in last row

i hv attached the scripts with this mail.
can any one help me with this
Sameer