Hello,
Currently we are using the Infragistics Grid which is Bind using PropertyDescriptor. It works fine for Single Band.
But our requirement is to show Master Details, but we have to use the PropertyDescriptor Method Only.
Can u send a example for the Same. But we do not want to use DataSet and UltraDataSource.
Thanks & Regards
Chandan Kapoor
You should post this question in the UltraWebGrid forum.
I'm having a similar issue but with the UltraWebGrid. I have datasource objects created using SubSonic. Let's say the parent and child are related on the property pA;
Public Class Parent{ public int pA; public int pB; public ChildCollection childColl;}
Public Class ParentCollection{ public List<Parent>;
Public Class Child{ public int pA; public int cA; public string childDesc;}
Public Class ChildCollection{ public List<Child>;}
Let's ignore how the collections are populated for this discussion.
So my Band[0] should have a collection of Parent objects. My Band[1] should have for each Parent an associated collection of Child objects that match the parent on the pA property.
Please provide an example of how to do this. This is driving us all crazy!
Hi Chandan,
I'm not sure what you mean by the "PropertyDescriptor Method".
The WinGrid will bind to any object that implements IList or IBindingList. If you are creating your own custom data source, then what you would do is create a list of objects as the root-level data of your grid. To get a row to display child rows, then child object must return a public property that also implement IList or IBindingList.