AD
Administrator
Syncfusion Team
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.
AD
Administrator
Syncfusion Team
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.