View Issue Details

IDProjectCategoryView StatusLast Update
0005237JEDI VCL00 JVCL Componentspublic2012-02-23 10:05
ReportergpcarettiAssigned Toobones 
Status resolvedResolutionunable to reproduce 
Product Version3.39 
Target VersionFixed in Version 
Summary0005237: [TJvDBUltimGrid] On master-details view the 'sort title' action looses the details
DescriptionIf you have two TJvDBUltimGrid, one for the master table and one for the details table, the details grid shows no rows if you sort with respect to a key that is not the master-details relational key, by pressing the title buttons.
Additional InformationConditions for the details TJvDBUltimGrid:
'SortWith' = swFields or swWhere
TitleButtons = True

Use Case:
1. Open a master-detail form using 2 TJvDBUltimGrid
2. By pressing a column title, sort the details grid with respect to a field
3. Now move to another master row on the master grid
You will see no rows are shown on the details grid.

The reason seems to be the fact that when you press the title button to sort, the code modify the 'IndexFieldNames' property of the details TJvDBUltimGrid is changed, but if in the IndexFieldNames there is not the master-details relational key, the details grid shows no rows
TagsNo tags attached.



2010-06-07 13:50

administrator   ~0017455

Could you please provide the zipped sources of a sample application showing this?

2010-07-09 12:34 (8,197 bytes)


2010-07-09 12:34

reporter   ~0017531

Provided as zipped project.


2010-10-08 15:57

administrator   ~0017799

Thanks, someone with DB knowledge will look at this


2011-06-18 11:13

reporter   ~0018776

I checked this with ADO.
I used DataSetProvider and TClientDataset for the master dataset and it work ok.

Contributed code: issue 5601


2011-06-19 18:14

reporter   ~0018784

Could not reproduce the error.


2012-02-23 10:05

administrator   ~0019491

Thanks, then I believe it is already fixed

Issue History

Date Modified Username Field Change
2010-05-14 07:20 gpcaretti New Issue
2010-06-07 13:50 obones Note Added: 0017455
2010-06-07 13:50 obones Status new => feedback
2010-07-09 12:34 gpcaretti File Added:
2010-07-09 12:34 gpcaretti Note Added: 0017531
2010-10-08 15:57 obones Note Added: 0017799
2010-10-08 15:57 obones Status feedback => acknowledged
2011-06-18 11:13 stevegr Note Added: 0018776
2011-06-19 18:14 stevegr Note Added: 0018784
2012-02-23 10:05 obones Note Added: 0019491
2012-02-23 10:05 obones Status acknowledged => resolved
2012-02-23 10:05 obones Resolution open => unable to reproduce
2012-02-23 10:05 obones Assigned To => obones