![]()  | 
 
How to tell if Row/Record is a Header? | 
 
    Post Reply  
   | 
  
| Author | |
   
   darryls  
   
   Newbie  
   Joined: 01 April 2008 Location: United States Status: Offline Points: 8  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: How to tell if Row/Record is a Header?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  | 
 |
![]()  | 
 |
   
   Aaron  
   
   Senior Member  
   Joined: 29 January 2008 Status: Offline Points: 2192  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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" 
    | 
 |
![]()  | 
 |
   
   darryls  
   
   Newbie  
   Joined: 01 April 2008 Location: United States Status: Offline Points: 8  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |