| | | StrataFrame Novice
       
Group: StrataFrame Users Last Login: 2 days ago @ 1:41:01 PM Posts: 61, Visits: 1,188 |
| | Can somebody please let me know how to set an Infragistics webgrid as a Hierarchical grid using two BusinessBindingSource controls? (for example Customers and Orders). Thanks |
| | | | StrataFrame Novice
       
Group: StrataFrame Users Last Login: 2 days ago @ 1:41:01 PM Posts: 61, Visits: 1,188 |
| | Well, I figured it out thanks to this post: http://forum.strataframe.net/Topic2965-7-1.aspx?Highlight=master+detail And this was the answer I needed: (I am copying and pasting the example.) Dim ds As New DataSet Me.CalcClientBO.FillAll() Me.ClientInfoBO.FillAll() ds.Tables.Add(CalcClientBO.CurrentDataTable) ds.Tables.Add(ClientInfoBO.CurrentDataTable) ds.Relations.Add("ListRelation", ds.Tables(0).Columns("ClientKey"), ds.Tables(1).Columns("ClientKey"), False)
grdList.DataSource = ds.Tables(0) grdList.LevelTree.Nodes.Add("ListRelation", gvListDtl) grdList.RefreshDataSource() Initially I didn't find it , because I was looking for webgrid and infragistics posts, and this was in the Winforms posts and related to devexpress, but the problem was the same. 
Thanks Hugo |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: 12/02/2008 4:42:46 PM Posts: 2,686, Visits: 1,890 |
| | |
|
|