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
900
Binding the Grid to a Generic List and displaying Custom Headers
posted

Hi,

I want to display a generic list of "Person" objects in an ultragrid.

My "Person" object contains properties for Name, Birthday, Address, and IsMarried.

I am able to set the Ultragrid's DataSource to a Generic List of Person objects.  My problem is that the column headers are just the Property names.  I'd like to be able to customize these names - for instance, IsMarried should really be shown to the user with a space in the name - "Is Married".

Is there some sort of attribute that i need to add to the properties, or another way of customizing these headers?

Thanks for the help,

~Karen