Print Page | Close Window

How to tell if Row/Record is a Header?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=10426
Printed Date: 20 September 2024 at 8:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to tell if Row/Record is a Header?
Posted By: darryls
Subject: How to tell if Row/Record is a Header?
Date Posted: 30 April 2008 at 2:03pm
Currently I have a generic function that returns the "ID" of the currently
.FocusedRow.

I would ideally like to see something added like .GroupRow.

I would like to ignore header rows since any action should only be
preformed on "real" rows.

HeaderRowsAllowAccess does not work in this case since I am doing
Excel style filtering.

HitTest would also not work since the user can move row with keyboard.

Thanks,
Darryl





Replies:
Posted By: Aaron
Date Posted: 01 May 2008 at 1:08am
Hi,
 
In the SelectionChanged event you could determine if the headerrows section is selected.
 
if wndReportControl.Navigator.CurrentFocusInHeadersRows then "do nothing"


Posted By: darryls
Date Posted: 02 May 2008 at 1:09pm
thanks for your help.

I guess I could have a variable track what row i am on and
check that if i am in a header row.

I hope we can have this as a property someday from Codejock.

Darryl




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net