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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid orientation

Thread ID:





63333 Jul 2,2007 06:33 PM UTC Jun 17,2015 07:19 AM UTC WinForms 11
Tags: GridControl
David Nazarov
Asked On July 2, 2007 06:33 PM UTC

Is there an option or setting that will allow a grid to display a complete row vertically? In other words, "column headers" will be on the left and "row headers" on top?

I've seen the sample doc that says you can do this with a virtual grid by supplying the the inverted coordinates (y, x instead of x, y) in virtual mode. This does not fulfill my requirements, however, because I want to be able to have the grid bound to a datasource.

haneefm [Syncfusion]
Replied On July 2, 2007 07:09 PM UTC

Hi David,

Currently this feature is not possible in GridDataBoundGrid. But you can use the virtual events to swap the roles of the rows and columns. Please refer to the following KB article discusses about the steps to transpose the rows into columns and vice versa using the Virtual Grid.


Best regards,

David Nazarov
Replied On July 2, 2007 07:16 PM UTC

As I said in my previous message, I've read that sample, and it doesn't help me. I'm specifically trying to change the orientation of columns that are bound. To go virtual would mean to throw away all of the benefits I get from databinding.

Are there any plans to add support for this feature?

haneefm [Syncfusion]
Replied On July 2, 2007 10:50 PM UTC

Hi David,

We are glad of your interest on our products. The design of GridDataBoundGrid does not support for this feature. There is no simple way to do this that we know of. It would require deriving several classes to attempt it.

Best regards,

Ville Salomäki
Replied On October 2, 2009 12:35 PM UTC

I need also similar solution. I see the thread is over 2 years old. Is this now solved?

Rajadurai C [Syncfusion]
Replied On October 6, 2009 02:29 PM UTC

Hi Ville,

Thanks for your interest in Syncfusion Products.

I apologize for the delay in responding.

Please refer to the following sample in which two griddataboundgrids were used. One grid displays the data of other grid in transposed manner(i.e., rows as columns and columns as rows).


Andrew Rosenblum
Replied On February 7, 2012 10:19 PM UTC

Is there an example like this for wpf?

Ramesh V [Syncfusion]
Replied On February 15, 2012 08:27 AM UTC

Hi Andrew,

We have analyzed your requirements also we have prepared a sample based on this and please find the sample under the following location.
Sample: http://www.syncfusion.com/downloads/Support/DirectTrac/General/GDCTransformation501167373.zip

Please let us know if this helps.


Replied On July 3, 2013 03:08 AM UTC

Hi There,
I found this example is quite useful and suit in my case. Thanks a lot.
However, I want to swap the model and style (like the hidden setting, frozen count setting, background color, font, etc) of the columns and rows also, is it possible?

Saravanan M [Syncfusion]
Replied On November 20, 2013 01:06 PM UTC

Hi Elliot,

We sorry for delay,

We have analyzed your query. If you want to swap the Styles(Foreground,Background,FontSize etc.,),you can use QueryCellInfo event. Please refer the codesnippet


this.SyncGrid1.Model.QueryCellInfo += new GridQueryCellInfoEventHandler(Model_QueryCellInfo);


void Model_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)




Please let us know if you have any queries.




William Gorelik
Replied On June 16, 2015 03:48 PM UTC

Hi Rajadurai,

Is this sample still available? I have the exact same requirement, but get a Page Not Found error upon viewing.


Neelakandan Kannan [Syncfusion]
Replied On June 17, 2015 07:19 AM UTC

Hi William,

Thank you for using Syncfusion products.

Here is the uploaded sample link. Please make use of below sample and below sample illustrates the GridDataBoundGrid trapose,


Please refer the below link for GridControl,

For more details, please refer the below link,

Please let me know if you have any concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon