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.
Unfortunately, activation email could not send to your email. Please try again.

How to know if a whole row is visible in Grid control

Thread ID:

Created:

Updated:

Platform:

Replies:

90833 Oct 21,2009 03:49 AM Nov 3,2009 06:42 AM Windows Forms 7
loading
Tags: GridControl
Allon
Asked On October 21, 2009 03:49 AM

Hello everyone

I'd like to know if a whole row in Grid control can be seen by user. It's should be something similar to myGrid.ViewLayout.VisibleRowsList.Contains(t), but not exactly, because with this command I can only know, if some of the row is visible, and not whole of it.

Have a nice day
Allon

Jisha Joy [Syncfusion]
Replied On October 21, 2009 07:46 AM

Hi Allon,


There is a grid property that indicates whether the last row is partially visible. See the code:

gridControl1.ViewLayout.HasPartialVisibleRows

Please let me know if this helps.

Regards,
Jisha

Allon
Replied On October 22, 2009 03:41 AM

Hi, Jisha

Thanks for replying me, but your answer is little bit problematic, because this property always retrieve True value. It would be great, if you'll send me little app related to this issue.

Thanks anyway, and have a nice day :)
Allon

Jisha Joy [Syncfusion]
Replied On October 22, 2009 06:38 AM

Hi Allon,

Thank you for your update.

Please find the attached sample that illustrates the same.

Regards,
Jisha



90833_506ca79b.zip

Allon
Replied On October 22, 2009 09:10 AM

Hi Jisha,

Can you tell me how to use the little app you have sent me, to use correctly gridControl1.ViewLayout.HasPartialVisibleRows? Please, tell me when it supposed to retrieve True, and when it supposed to retrieve False.

Regards,
Allon

Jisha Joy [Syncfusion]
Replied On October 23, 2009 05:11 AM

Hi Allon,

ViewLayout.HasPartialVisibleRows, that indicates whether the last row is partially visible. If the last row is partially visible it returns true, otherwise false.

Please let me know if you have any questions.
Regards,
Jisha

Allon
Replied On November 3, 2009 06:00 AM

Hi Jisha,

Thanks a lot for helping me determine if the last row partially visible.

Have a nice day :)
Allon

Jisha Joy [Syncfusion]
Replied On November 3, 2009 06:42 AM

Hi Allon,

Thank you for your update.

Regards,
Jisha

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;