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. Image for the cookie policy date

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.
Live Chat Icon For mobile
Up arrow icon