If the dataset does not filter or show filter values that means that the type of dataset you are using is not supported automatically. Currently we support TClientDataSet, TFDDataSet and our own TTMSFNCDataSet Basically, the type of dataset does not support cloning, therefore it does not automatically fill the list with unique values. To handle sorting/filtering you will need to implement this manually. However, since you are using TFDTable, it's unclear exactly why it does not work since TFDTable inherits from TFDDataSet. There could be some specifics in binding it to Interbase meaning it doesn't allow the default way of filtering/sorting currently implemented in the data grid adapter.
Filtering
procedure TForm7.TMSFNCDataGridDatabaseAdapter1GetFilterValues(Sender: TObject;
AColumn: Integer; AValues: TStrings);
begin
// fill the AValues string list
end;
Afterwards, the grid will try to apply a filter based on those values with a default filter operation based on
DataLink.DataSet.Filter := '[Filter]';
DataLink.DataSet.Filtered := True;
If typing "V88" also does not return a filtered result, this means that the dataset is not capable of applying filters in the default way via the above code. If this is the case, you'll need to lookup the way the dataset needs to be filtered, and apply the filtering code yourself in the following event:
procedure TForm1.TMSFNCDataGridDatabaseAdapter1FilterData(Sender: TObject);
begin
//apply filter on dataset
end;
There is currently no easy way to handle this other than manually looping through the filter, you can see in the source code of TMSFNCDataGridDatabaseAdapter.ApplyFilter how the filter from the grid is transfered to the filter on the dataset.
Sorting
The implementation uses a index based system and this is unique for each dataset type. If the dataset you are using is not supported then you need to implementing sorting manually. This can be done in the following event:
procedure TForm1.TMSFNCDataGridDatabaseAdapter1SortData(Sender: TObject);
begin
//apply sorting on dataset
end;
TMSFNCDataGridDatabaseAdapter.SortData shows how to implementing sorting indexed based, retrieving the grid sorting and apply it on the dataset.
Feel free to send me a test project if you have difficulties implementing this, I'll be happy to help out implementing filtering / sorting.