We just noticed a bug in our application.
In a TcxGrid with 4 levels we use TDAMemDataTable.IndexFieldNames to set the sorting
after the table is fetched which makes the levels linked.
However the second time we fetch the data (refresh) we loose some of our links.
It appears the underlying function TDAMemoryDataset.SetIndex does not sort in case IndexFieldNames already contained the new value in our DA10.0.0.1457.
Has TDAMemoryDataset.SetIndex changed recently (since RO9?)
Can you confirm this?
If so, is there a way for us to check a list of this kind of changes which might break existing applications?
this stuff (indexes) wasn’t changed for few years.
You can try to disable generics via adding
unit uDAMemDataset;
...
{$I DataAbstract.inc}
{$UNDEF ROUseGenerics} // added
it would be great if you could create a simple testcase w/o CXGrid that reproduced your original issue.
you can send it to support@ for keeping privacy.
Deep inside our code we indeed do a Close();Open();
I have put my table.IndexFieldNames:=’’;table.IndexFieldNames:=sortfield; just before the place where we re-attach the table to the TcxGrid.
The code is quite complex and client server based.
It is unfortunately too time consuming to create a sample, I am very busy.