How to find out if a grid is in the displayed area?

hi! i have a panel that hosts a few gridcontrols. now i''d like to call the repaint methods but only if the grid is in the displayed area of the panel. how can i find out if the grid is displayed or not? thx a lot! dan

1 Reply

AD Administrator Syncfusion Team February 18, 2006 09:31 AM UTC

Hi Dan, One way to achieve this is by comparing the pixels of the grid with the other controls inside the panel, to check whether any area is visible in display area. Here is a sample demonstrating this. Regards, Madhan.

Loader.
Up arrow icon