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
310
Do not autogenerate chld bands
posted

I have a WinGrid (V 8.1) which is bound to a complex datasource. In the example the datasource is structured in this way:

Person
  +  List<Address>
  + List<Contact>

Of course I bind to the grid a BindingList<Person> and by magic the grid creates for me for each Person row, two child nodes, one for the collection of Addresses and for the Contacts.

Now, what is the best approach to avoid this behavior in the Grid, without changing the structure of the datasource as we can't create a DTO for each Grid bound to a complex structure?

Thank you 

Parents Reply Children
No Data