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

Clicked on actual data?

Thread ID:

Created:

Updated:

Platform:

Replies:

2785 Feb 13,2003 06:21 PM UTC Feb 13,2003 07:03 PM UTC WinForms 1
loading
Tags: GridControl
Mike Reynolds
Asked On February 13, 2003 06:21 PM UTC

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 07:03 PM UTC

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.

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

;