views:

32

answers:

1

I am looking for a way to databind my objects columnbased. So one object will be represented by a Column and not like normal binding where an object is represented by a row. At the moment I am using Infragistics UltraGrid and create a DataTable from my BusinessObjects on my own and use it as a DataSource for the Grid. But I don´t like that way because it does not use Databinding and doing updates to such a DataTable/View is painful. Any better ideas?

+1  A: 

What is the data? You can transpose data on-the-fly (like so), but it is a bit clumsy, and only really works if the data is all of the same type (since it expects a "column" to map to a "property"). And it is also very hard to add "rows" (since that is then properties).

But for array-like data, it can be done via data-binding and some smoke and mirrors.

Marc Gravell
My "Data" are complex bussiness objects so the transpose wont work :-(And transposing them manual seems to be painful too...