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:

Created:

Updated:

Platform:

Replies:

63333 Jul 2,2007 02:33 PM Jun 17,2015 03:19 AM Windows Forms 11
loading
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.

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

Best regards,
Haneef

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

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

Regards,
Rajadurai

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.

Regards,
Ramesh


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

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.

Regards,

Saravanan.M

 


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.

Thanks,
William

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,

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.

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.

;