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

GridDataBoundGrid Problems

Thread ID:

Created:

Updated:

Platform:

Replies:

36600 Nov 3,2005 02:36 PM UTC Nov 3,2005 04:19 PM UTC Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On November 3, 2005 02:36 PM UTC

I am running into a strange problem with a GridDataBoundGrid. For some reason, when I move my mouse over one cell in a row to a cell in a different row, the second cell is taking on the value of the first cell. I have no idea why this is happening. In the grid I have EnableEdit set to false, the TableStyle.Enabled set to false, and the TableStyle.ReadOnly set to true.

Administrator [Syncfusion]
Replied On November 3, 2005 03:40 PM UTC

What grid events are you handling? grid.Model.QueryCellInfo or any mouse events? Are there any exceptions being raised (check the output work or set the debugger to break or CLR exceptions)? If you change those style settings you mentioned, does the problem go away? If so, another way to make a grid strictly readonly (but maybe clickable) is to handle the CurrentCellStartEditing event, and set e.Cancel = true there.

Administrator [Syncfusion]
Replied On November 3, 2005 04:19 PM UTC

I figured out the problem was occuring with the following: I was catching the CellMouseHoverEnter event and setting grid[e.RowIndex, e.ColIndex].CellTipText = grid[e.RowIndex, e.ColIndex].FormatedText. The problem seems to go away if I instead used the PrepareViewStyleInfo event and use e.CellTipText = e.FormatedText. Not sure why the difference is, but it works properly in the second form.

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

;