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
80
Bind UltraGrid to List<string>
posted

I want to bind an UltraGrid to a generic list of strings using List<string> (c# generic class).

I've set up a BindingSource.DataSource to my List<string> object, but when I hook it up and run my program, the UltraGrid shows a single column bound to the Length property showing the Lengths of my strings instead of showing me the actual list of string data.

If I set a System.Windows.Forms.Listbox or ComboBox to use the same BindingSource, I get the expected list of strings shown.

Why can't an UltraGrid do the same thing? I couldn't find any help on this seemingly simple thing.

Parents Reply Children
No Data