PDA

View Full Version : [AS3] Display array collection in advance datagrid


Prajilal KP
06-25-2009, 07:30 AM
I have a list of data same as following

# Task Name StartDate EndDate ParentTaskId
----------------------------------------------------------------------------
1 Project 1 12-01-2009 0
2 Documentation 12-01-2009 22-01-2009 1
3 DOC-Preparation 12-01-2009 18-01-2009 2
4 DOC-Review 19-01-2009 20-01-2009 2
5 DOC-Rework 21-01-2009 22-01-2009 2

6 Design 23-01-2009 02-02-2009 1
7 DES-Preparation 23-01-2009 28-01-2009 6
8 DES-Review 28-01-2009 31-01-2009 6
9 DES-Rework 01-02-2009 02-02-2009 6

10 Coding 03-02-2009 02-03-2009 1
11 COD-Preparation 03-02-2009 23-02-2009 10
12 COD-Review 23-02-2009 26-02-2009 10
13 COD-Rework 27-02-2009 02-03-2009 10


I want to display this in to advanced datagrid.. w.r.to parent task Id..

[-] Project1
[-] Documentation
DOC-Preparation
DOC-Review
DOC-Rework
[-] Design
DES-Preparation
DES-Review
DES-Rework
[+] Coding



ie;, Project1 is the first row...
When expanding project!1 it should display the other rows whose parent taskId is 0(Project1's serial No).

Thanks in advance
lalji