Posted 4 July 2019, 9:40 am EST
I’m unable to successfully apply a filter to a heirarchical TDBGrid.
We’ve used DataTables bound to a TDBGrid which has the filter bar visible. On the Filter Change event the DataTable’s DefaultView RowFilter is changed and the rows displayed by the TDBGrid change accordingly.
This works very well until the TDBGrid is changed to be Heirarchical. Then changes to the master grid’s filters still trigger the Filter Change event but as before but changes to the DataTable’s DefaultView RowFilter no longer cause the master grid’s rows to change. Nevertheless the number of rows in the table’s DefaultView do change as expected.
It seems that the TDBGrid in heirarchical view is not bound or does not use the table’s default view as in the other case.
Thanks in advance for any help.
