We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Column/Row inversion when binding to a DataView

This is probably a bit of a stretch, but is it possible to bind a GDBG to a DataView or DataTable but switch the layout such that the table's field names are described in each row header of the first column and the values are in the second column?
That is, I'd like to have each record in the data source listed as a column in the grid.

Eg: Rather than this:
Col1 Col2 Col3
Record1Val1 Record1Val2 Record1Val3
Record2Val1 Record2Val2 Record2Val3

Something like this:
Col1 Record1Val1 Record2Val1
Col2 Record1Val2 Record2Val2
Col3 Record1Val3 Record3Val2

1 Reply

SA Saravanan A Syncfusion Team June 14, 2007 09:42 PM UTC

Hi Mark,

There is no direct way to achieve this in GDBG. But you can achieve this by virtually binding the GridControl with the DataTable.

Please refer to this forum.
http://www.syncfusion.com/Support/Forums/message.aspx?&MessageID=13862

Best Regards,
Saravanan

Loader.
Live Chat Icon For mobile
Up arrow icon