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.
Unfortunately, activation email could not send to your email. Please try again.

Grid orientation

Thread ID:





63333 Jul 2,2007 02:33 PM Jun 17,2015 03:19 AM Windows Forms 11
Tags: GridControl
David Nazarov
Asked On July 2, 2007 02:33 PM

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 03:09 PM

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 03:16 PM

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 06:50 PM

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 08:35 AM

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 10:29 AM

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 05:19 PM

Is there an example like this for wpf?

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

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 2, 2013 11:08 PM

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 08:06 AM

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 11:48 AM

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 03:19 AM

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.

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.