Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
How to bind an ultragrid to a hierarchical data source that is not a DataSet?
posted

Hi,

If I have a data structure that looks like this:

public class Customer

{

public string Name;

public string Address;

public IList<String> Orders; 

 

and if i have an IList<Customer> and bind that to an ultraGrid, the grid has only 1 band.

I would like to have a second band that contains all the elements of the IList<String> Orders property for each Customer.

Is there an easy way to do this, or do i have to programmatically create a band at runtime and add the Orders to it? 

Does that make sense?

Any help Much appreciated!

Mike 

Parents Reply Children
No Data