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

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

7 Replies

JJ Jisha Joy Syncfusion Team October 21, 2009 11:46 AM UTC

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


AL Allon October 22, 2009 07:41 AM UTC

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


JJ Jisha Joy Syncfusion Team October 22, 2009 10:38 AM UTC

Hi Allon,

Thank you for your update.

Please find the attached sample that illustrates the same.

Regards,
Jisha



90833_506ca79b.zip


AL Allon October 22, 2009 01:10 PM UTC

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


JJ Jisha Joy Syncfusion Team October 23, 2009 09:11 AM UTC

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


AL Allon November 3, 2009 11:00 AM UTC

Hi Jisha,

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

Have a nice day :)
Allon


JJ Jisha Joy Syncfusion Team November 3, 2009 11:42 AM UTC

Hi Allon,

Thank you for your update.

Regards,
Jisha

Loader.
Up arrow icon