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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

unvisible range

Thread ID:





33607 Aug 23,2005 11:15 AM UTC Aug 23,2005 01:52 PM UTC WinForms 4
Tags: GridControl
Catinat Velmourougan
Asked On August 23, 2005 11:15 AM UTC

hi, Theres an activegridview.viewlayout.visiblecellsrange which gives the range of visible cells.Similarly I need to get the range of unvisible cells. How can I get it? regards, catinat

Administrator [Syncfusion]
Replied On August 23, 2005 11:38 AM UTC

You will have to do this yourself. Take the visible range you mentioned above. Then everything else is not visible. You can get the number of rows in the grid using grid.Model.RowCount and the number of columns using grid.Model.ColCount. From these two values, and the visiblerange, you should be able to compute what is not visible.

Catinat Velmourougan
Replied On August 23, 2005 11:56 AM UTC

hi, Can I get my own range? When I say, GridRangeInfo rangeInfo = new GridRangeInfo(); rangeInfo.Top = ; rangeInfo.Bottom = ; It says top and bottom are read only. I have to actually interesect the range of unvisible cells with another range.So I need a range to do this. Any clues? regards, catinat

Administrator [Syncfusion]
Replied On August 23, 2005 01:22 PM UTC

You use the static constructors like: GridRangeInfo rangeInfo = GridRangeInfo.Cells(top, left, bottom, right); There are many other static constructors in the class for doing Cell or Cols or Rows ranges.

Catinat Velmourougan
Replied On August 23, 2005 01:52 PM UTC



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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon