Dear Lingaraj S,
Thanks for your valuable suggestion. Now i found the actual cause of the problem. Actually during the scrolling index increases as scroll down and this is expected behavior. In this case OnQueryCellInfo handler called for every cell in the grid view area. But during this functionality if focused row is set in between 0-249 then some times OnQueryCellInfo handler called for this focused row it self and this causes the change of existing row index with this focused row index. Suppose initially focused row is 2 and after scrolling down we are at row index 250. If focused row fires OnQueryCellInfo event then it'll will set new row index to 2 and SlideDataSetWindow will set the dataset cache to initial range 0-249 for this new index and hence graph displayed accordingly.
To regenerate please do following steps.
1. Open the project in Visual Studio and run in debug mode.
2. On main form click on Row 2 and start scrolling down.
3. Analyze the Output window in debug mode.
4. Search for test2 in output window.
5. You will see indexes increases as scroll down but it set to index 2 at some irregular intervals.
Same sample code is attched with little bit modification in gridControl1_QueryCellInfo handler.
PLEASE LET ME KNOW THE REMEADY OF THIS ISSUE ASAP BECAUSE IT IS CAUSING UNEXPECTED DISPLAY OF DATA FOR SOME INTERVAL.
- arvind
F89652_eaa0c7a1.zip