StrataFrame Forum

Parent - Child - grandchild Question

http://forum.strataframe.net/Topic1440.aspx

By fookyean - 6/6/2006

I would like to has the followings for my form,



Order Header (Parent )

|- Order Item (Child)

|- Order Item BOM (GrandChild)



where order item and order item bom are show in grids. When user navigate the Order Item grid, the BOM grid will refresh to show only the BOM belong to the current Order Item row record. This can be achieve by hierachical grid but DevExpress do not provide this feature. How I can solve it ? Or use Infragistic that provide this feature is better ? Is SF support hierachical grid ?


By Wayne Van Rooyen - 6/6/2006

Hi i dont really know Strataframe that well. But i can tell you that Developer express does support
Parent -> Child -> Grandchild type relationships. I have seen this in there demos menu once the product is installed.
It falls under Northind demo.

Hope that helps a little.
Cheers Wayne

By StrataFrame Team - 6/7/2006

If the grid will allow you to have 3 separate data sources for each level of the relationship, then you can use a hierarchial control like the one you mentioned; otherwise, you'll need to use 3 separate grids.  The SF business objects will automatically filter records within the child business objects with the business object navigates.  So, if you use 3 separate grids, it is simpley a matter of calling Navigate() on the business object in the AfterSelect event of the grid.  When the record is selected in the grid, the child business object will filter itself to match the selected record within the parent grid.
By fookyean - 6/9/2006

Right ! The DevExpress does support the features in Windows Grid but not in ASPxGrid if not wrong. Unsure DevExpress is greate and hopefully it will support this in ASPxGrid soon ! Smile