I keep getting QueryCellInfo events when i am moving the mouse over cells.
I am not moving any scrollbars or moving the size of the form or screen. I am not clicking anywhere. i am simply moving my mouse around the current grid.
Is this a bug in the grid ?
thanks,
ak
AD
Administrator
Syncfusion Team
July 22, 2005 12:29 AM UTC
No. This is by design. The grid needs the cell style to do hit testing as the mouse moves.
AK
Adam K.
July 22, 2005 12:48 AM UTC
is there anyway to disable or turn this off this because it seems like it is wasting a lot of resources.
>No. This is by design. The grid needs the cell style to do hit testing as the mouse moves.
AD
Administrator
Syncfusion Team
July 22, 2005 12:59 AM UTC
You can use the technique shown in this sample.
\Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Performance\OneTimeOnlyQueryCellInfo
AD
Administrator
Syncfusion Team
September 8, 2005 12:27 AM UTC
It says in the sample that this sample is good for a:
"data container that is optimized for non-virtual grids with a smaller number of rows where QueryCellInfo event is only wanted to be called once for a cell and not multiple times."
i am confused.. i AM using a virtual grid with about 50 - 100 rows. i only want the QueryCellinfo to get called when i explicitly call a refresh on a cell or range. not any other time. (for example mouse move over) . .
any ideas??
thks,
ak
>You can use the technique shown in this sample.
>
>\Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Performance\OneTimeOnlyQueryCellInfo
AD
Administrator
Syncfusion Team
September 8, 2005 12:58 AM UTC
That sample is the only way you can avoid QueryCellInfo from being raised continuously.