View Issue Details

IDProjectCategoryView StatusLast Update
0004368JEDI VCL00 JVCL Componentspublic2008-07-23 07:11
ReportermjwallinAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version3.30 
Target VersionFixed in Version 
Summary0004368: TJvMemoryData sort method error
DescriptionThe sort seems to be returning the data sorted only within the column itself rather than the whole record. I am sorting on only the contents of one field. The column in which the data is sorted is also the column I am sorting on. The rest of the field contents stay as is. This works the same way when passing the field name in the first parameter or setting the field name in the keyfieldnames property.

What seems to be happening is this:
Contents before sort:

Rec # DateField Field2 Field3
1 02/01/08 A 40
2 01/01/08 B 20

jvMemoryTable1.sortOnField('DateField', true, false)

Contents after sort:
1 01/01/08 A 40
2 02/01/08 B 20


Note: In my application, I substituted another memory table component, kbmMemTable and used its sort method which produced the results I was expecting.
Additional InformationRun under Delphi 5. The JVCL 3.33 version seems to have the same code as this one.
TagsNo tags attached.

Activities

obones

2008-05-28 13:15

administrator   ~0014309

Please provide the zipped sources of a sample application showing this.

obones

2008-07-23 07:10

administrator   ~0014422

Unable to reproduce

Issue History

Date Modified Username Field Change
2008-05-28 12:46 mjwallin New Issue
2008-05-28 13:15 obones Note Added: 0014309
2008-05-28 13:15 obones Status new => feedback
2008-07-23 07:10 obones Status feedback => resolved
2008-07-23 07:10 obones Resolution open => unable to reproduce
2008-07-23 07:10 obones Assigned To => obones
2008-07-23 07:10 obones Note Added: 0014422