View Issue Details

IDProjectCategoryView StatusLast Update
0002756JEDI VCL00 JVCL Componentspublic2005-03-15 12:04
ReportertomatomanAssigned Touser72 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 
Summary0002756: TJvStringGrid.SortGrid Fixed parameter interpretation mismatch
DescriptionThe SortGrid method in JVCL 2.1 interpreted the Fixed parameter as fixed columns (i.e. Fixed = true resulted in sorting the fixed column(s) as well).
This behaviour changed in 3.0 and now the Fixed parameter is used for columns as well as rows, making it impossible to sort a grid with 1 fixed row and 1 fixed column if one wants to include the fixed columns in the sort (but leave the fixed row alone).
See ExchangeGridRows where Fixed is applied to columns vs. InvertGrid where fixed is applied to rows.
Since SortGrid sorts only rows, it is unlikely that the fixed rows would ever need to be sorted, therefore the 2.1 code was correct (IMHO).
Modified unit included
TagsNo tags attached.

Activities

2005-03-15 09:46

 

JvStringGrid.pas (41,624 bytes)

user72

2005-03-15 11:59

  ~0006710

Fixed in CVS (JVCL_300_PREPARATION branch)

user72

2005-03-15 12:04

  ~0006711

Also updated in HEAD branch

Issue History

Date Modified Username Field Change
2005-03-15 09:46 tomatoman New Issue
2005-03-15 09:46 tomatoman File Added: JvStringGrid.pas
2005-03-15 11:59 user72 Status new => resolved
2005-03-15 11:59 user72 Resolution open => fixed
2005-03-15 11:59 user72 Assigned To => user72
2005-03-15 11:59 user72 Note Added: 0006710
2005-03-15 12:04 user72 Note Added: 0006711