Friday, December 02, 2005

Using DataGrid Inside DataGrid !!

DataGrid is one of the most powerfull control. One of the many ways of extending its power is to use a datagrid inside a datagrid and make a tree-like implementaion. Check out the following screenshots to see the implentation in action.



You can hide/unhide the second datagrid using simple javascript. Just put the second datagrid inside a "Div" Tag and hide/unhide the Div depending on mouse clicks.

I had submitted a code of same in planet-source-code.com. Follow the link to check it out.