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.
Syncfusion Feedback

Using arrow keys for navigation and row heights

Thread ID:

Created:

Updated:

Platform:

Replies:

5174 Jun 23,2003 05:19 PM UTC Jun 23,2003 05:31 PM UTC Windows Forms 2
loading
Tags: GridControl
Charles Carlin
Asked On June 23, 2003 05:19 PM UTC

I am using a non-databound grid control. When a cell is selected and then the up or down arrow key is pressed the current cell is moved correctly. When I change rows I reset the row height back to the default in the row I am leaving and potentially change the row height of the new row. However it appears that there is some type of painting issue with the old rows column that was selected. It does not appear to get updated even though I call gridControl1.RefreshRange(GridRangeInfo.Row(nRow)); on the row. If I mouse over the area it repaints correctly.

Administrator [Syncfusion]
Replied On June 23, 2003 05:25 PM UTC

The grid might have cached some layout information. Does calling grid.ViewLayout.Reset(); help? Stefan

Charles Carlin
Replied On June 23, 2003 05:31 PM UTC

Nope. Again if I move the mouse over the areas that are "out of sync" they repaint correctly. So it seems like even though I am calling refresh on the row somehow the resize is causing it not to repaint the entire area. Nothing short of calling refresh on the whole grid works, for now I guess that is what I will do it doesn't seem to have any harmful side effects.

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

;