Implement own sorting |
Post Reply |
Author | |
rune
Newbie Joined: 19 September 2010 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 19 September 2010 at 3:31pm |
I have a my own sorting on the behind data.
What event is the best to use? Is there a before sort event,columnheader click or something like that? Now I use this hittest on mouseclick but this event fires to often and it fires my sorting to often.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
My best guess would be SortOrderChanged event. Clicking column in header and in groupbox will fire this event.
Do you have somekind of special sorting algorithm? Sorting in ReportControl is pretty good once you know how. Look at the properties SortPriority, GroupPriority and Format. These properties can be quite usefull when sorting is applied. Even sorting types like time, date, long and integer are supported. Maybe you would like to use ReportControl sorting instead of your own and maybe not, depends on needed algorithm(s) of course.
Hope this helps
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
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 |