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
650
Bind ViewModel Business Objects to UltraGrid
posted

I have classes such as Address & Client which hold properties. 

I have created a ViewModel like so:

public class MyViewModel
{

    public Address MyAddressObj {get;set;}

    public Client MyClientObj {get;set;}

}

Can I bind MyViewModel to the Grid and show the properties of the Address & Client classes. I have already tried and it just creates columns called MyAddressOb & MyClientObj.  I would like to specify what properties of the classes are displayed in the grid if possible via code.

Parents Reply Children
No Data