views:

23

answers:

0

Hi,I have a doubt about the expand collapse functionality in Advanced DataGrid.

Let us assume we have following fields of data A, B, C, D and E.I want to group them by A and B. If i group on columns A and B then i get an ADG with 4 columns. A and B would get displayed in column 1 and C, D and E would be in columns 2, 3 and 4. I have to open two nodes belonging to A and B to see the detailed rows containing C, D and E data.

| A/B | C | D | E | | >a | | | | | >b | | | | | | c | d| e |

But my requirement is to continue to have 5 columns and show A and B parent nodes in separate columns.

| A | B | C | D | E | | >a | | | | | | | >b | | | | | | | c | d | e |

That is when the output is generated then the user first sees only >a.On clicking > a the user should see >b , but not in the same column . Rather it should appear in its own column B.On clicking B,the remaining entities >c,>d and >e should appear.

Can someone suggest how can this be achieved?

by adding children i am able to provide navigaton, but expand collpse icon is on first coloumn only how to resolve it