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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Portrait versus Landscape

Thread ID:

Created:

Updated:

Platform:

Replies:

13862 May 12,2004 02:37 PM UTC May 27,2004 05:33 PM UTC WinForms 4
loading
Tags: GridControl
Corinne
Asked On May 12, 2004 02:37 PM UTC

Hi, some of our users want the rows and columns exchanged - is there an easy way to do this? thanks, Corinne

Administrator [Syncfusion]
Replied On May 12, 2004 05:01 PM UTC

You can do this by handling the virtual grid events and fliiping th erows of the row and columns. Here is a little sample. forum_swapRowsCols_5073.zip

Corinne Muir
Replied On May 27, 2004 02:36 PM UTC

Thanks Clay - this works great. They now have one more issue - the enter key should move to the "next" cell. When in portrait mode this will be the cell to the right (which is the default behaviour) but when its landscape mode, we would like the enter key to move to the next cell below. Is there an easy way to handle this for virtual grids? thanks, Corinne >You can do this by handling the virtual grid events and fliiping th erows of the row and columns. Here is a little sample. > >forum_swapRowsCols_5073.zip > >

Administrator [Syncfusion]
Replied On May 27, 2004 02:40 PM UTC

You can conditionally set the this.gridDataBoundGrid1.Model.Options.EnterKeyBehavior property to control the behavior of the Enter key. So, you can make it conditionally go right or down by setting this property when you flip the grid.

Corinne Muir
Replied On May 27, 2004 05:33 PM UTC

Thanks Clay for the speedy response - it did the trick.

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

;