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.

Clicked on actual data?

Thread ID:

Created:

Updated:

Platform:

Replies:

2785 Feb 13,2003 01:21 PM Feb 13,2003 02:03 PM Windows Forms 1
loading
Tags: GridControl
Mike Reynolds
Asked On February 13, 2003 01:21 PM

Hello- What would be the best way to determine if, from within the MouseUp event, a row containing actual data was clicked on? i.e. whether or not the empty row spaces after the last row was clicked? Along the same lines: what would be the best way to determine how many rows are currently visible in the grid? Will Model.RowCount include filtered rows? Thank You

Administrator [Syncfusion]
Replied On February 13, 2003 02:03 PM

Model.RowCount does not include filtered rows. It is just the number of all records that are shown in the grid. Grid.ViewLayout.VisibleRows returns the number of visible rows in the current view. I mean here the number of rows that are actually shown and not scrolled out of view ... Use Grid.PointToRangeInfo(pt, -1) to find out if the clicked point is below or right of the grid. It will return GridRangeInfo.Empty in that case. Stefan

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.

;