![]()  | 
 
Sort by check box column | 
 
    Post Reply  
   | 
  
| Author | |
   
   JamesH  
   
   Senior Member  
   Joined: 01 December 2004 Status: Offline Points: 149  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Sort by check box columnPosted: 04 December 2007 at 5:37pm  | 
 
| 
   
    
   If a column is a list of check boxes how can I make it so the grid is sortable by that column?  Eg. clicking on the top of that column brings all the checked items to the top.
    
   
   | 
 |
![]()  | 
 |
   
   Aaron  
   
   Senior Member  
   Joined: 29 January 2008 Status: Offline Points: 2192  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 April 2008 at 2:50pm | 
 
| 
   
    Hi, I don't know if you still need the sorting of checked items? I just started to use the reportcontrol myself so thats why my reply is a little (maybe too) late. If you set a value for the xtremeRecordItem.SortPriority = False (unchecked) when adding the items to the reportcontrol like this: Set xtremeRecord = wndReportControl.Records.Add() 
    Set xtremeRecordItem = xtremeRecord.AddItem("") 
xtremeRecordItem.HasCheckbox = True xtremeRecordItem.SortPriority = False Item.SortPriority = Item.Checked End Sub 
This should do the trick. 
PS This reply shows once again that we need Code Snippets see my post  
and I wonder why this post has no replies at all????? see my post  
Wake up members !!!!!!!!!!!!! 
    | 
 |
![]()  | 
 |
    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  |