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:

Created:

Updated:

Platform:

Replies:

63333 Jul 2,2007 06:33 PM UTC Jun 17,2015 07:19 AM UTC WinForms 11
loading
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.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=315

Best regards,
Haneef

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,
Haneef

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).
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/I58580/GDBG.zip

Regards,
Rajadurai

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.

Regards,
Ramesh


Elliott
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?
 
Cheers,
Elliott

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.

Regards,

Saravanan.M

 


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.

Thanks,
William

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,

http://www.syncfusion.com/downloads/support/forum/63333/ze/Sample_GDBG_Transpose-285145137

Please refer the below link for GridControl,
http://www.syncfusion.com/kb/658/how-do-i-swap-rows-and-columns

For more details, please refer the below link,
http://www.syncfusion.com/kb/windowsforms

Please let me know if you have any concerns.

Regards,
Neelakandan

CONFIRMATION

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.

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

;