Basically, we often bind an Infragistics Ultragrid to a dataset containing 2 or 3 tables. If I bind to a BO then it looks like I am restricted to only one table as the BO itself can only deal with a single table. Is this correct or have I missed something?
Thanks.
Finally, another option would be to create a view and still use a single BO if you are not dealing with children items. If you are dealing with a flat table then just create the query and return all of the desired rows from however many tables that you would like.
Grids get tricky...even when you are just creating a simple class that implements IBindingList, when you get deeper it gets more complicated. This is just the nature of grids, but this is something that we do and other developers do on a daily basis...there are just a number of different approaches that you can take.
Just for clarification, does this technique allow multiple tables to be bound to an UltraGrid in a similar format to the attached screenshot which shows a dataset containing three tables?
If so, will the UltraGrid be able to add new records to any of the tables just as it would if the grid was bound to a three table dataset?
Sorry if this is a stupid question but I don't understand the internal workings of the BBS
Thanks
Notice that a filter is applied to the child BO when the Orders property was accessed. This ensures that only the orders that belong to the current record are visible at this point in time.
This should at least get you going in the right direction.