View Issue Details

IDProjectCategoryView StatusLast Update
0005601JEDI VCL00 JVCL Componentspublic2012-09-10 14:15
ReporterstevegrAssigned Tojfudickar 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.40 
Target VersionFixed in Version3.46 
Summary0005601: TJvDBUltimGrid -> Sort TClientDataSet
DescriptionWhen I tried to sort a TClientDataSet I realised that the only way was to use SortWith:=sfUserFunc and the OnUserSort event. So I contribute a piece of code.

Source Code for Sorting TClientDataSet.
Search for swClient to find the new lines of code.
TagsNo tags attached.

Activities

2011-06-18 10:13

 

JvDBUltimGrid.pas (25,311 bytes)

jfudickar

2011-06-19 15:50

developer   ~0018780

Closed by mistake

2011-06-19 17:41

 

JvDBUltimGrid_2011-06-19.pas (24,643 bytes)

stevegr

2011-06-19 18:06

reporter   ~0018783

Sometimes after sorting is usefull not to change to position of the current record, so I contribute an update of the TJvDBUltimGrid unit.

Note: Adding property FRestoreOnSort: Boolean;

stevegr

2011-06-20 19:38

reporter   ~0018792

Updated code: Replace unit with the new one.

2011-06-20 19:39

 

JvDBGrid.pas (160,445 bytes)

2011-06-20 19:42

 

JvDBUltimGrid_2011-06-20.pas (24,689 bytes)

stevegr

2011-06-20 19:55

reporter   ~0018793

There a thing though.
Sorting column is triggered by both Click and DoubleClick on title.
Double clicking on title should NOT trigger sorting because it fires its own user event and is not a good idea to happen both at the same time. That I could not fix so far.

jfudickar

2011-06-20 20:35

developer   ~0018794

Could you please create a separate bug report for the DoubleClick sorting problem.
Regards
Jens

obones

2011-09-21 11:47

administrator   ~0018923

What's the status here?

obones

2012-02-23 10:59

administrator   ~0019496

Any news ? I'm very tempted to "resolve" this issue as "nothing to change"

stevegr

2012-02-23 12:50

reporter   ~0019515

You can easily "close" this issue on my behalf, regarding TJvDBUltimGrid the source code with new features and bug fixes will be contributed to a new report soon.

obones

2012-02-23 13:36

administrator   ~0019516

Thanks for the confirmation

Issue History

Date Modified Username Field Change
2011-06-18 10:13 stevegr New Issue
2011-06-18 10:13 stevegr File Added: JvDBUltimGrid.pas
2011-06-18 21:06 jfudickar Status new => resolved
2011-06-18 21:06 jfudickar Resolution open => fixed
2011-06-18 21:06 jfudickar Assigned To => jfudickar
2011-06-19 15:50 jfudickar Note Added: 0018780
2011-06-19 15:50 jfudickar Status resolved => feedback
2011-06-19 15:50 jfudickar Resolution fixed => reopened
2011-06-19 17:41 stevegr File Added: JvDBUltimGrid_2011-06-19.pas
2011-06-19 18:06 stevegr Note Added: 0018783
2011-06-20 19:38 stevegr Note Added: 0018792
2011-06-20 19:39 stevegr File Added: JvDBGrid.pas
2011-06-20 19:42 stevegr File Added: JvDBUltimGrid_2011-06-20.pas
2011-06-20 19:55 stevegr Note Added: 0018793
2011-06-20 20:35 jfudickar Note Added: 0018794
2011-09-21 11:47 obones Note Added: 0018923
2012-02-23 10:59 obones Note Added: 0019496
2012-02-23 12:50 stevegr Note Added: 0019515
2012-02-23 13:36 obones Note Added: 0019516
2012-02-23 13:36 obones Status feedback => resolved
2012-02-23 13:36 obones Fixed in Version => Daily / SVN
2012-02-23 13:36 obones Resolution reopened => fixed
2012-09-10 14:15 obones Fixed in Version Daily / SVN => 3.46