Hi,
why when I use ado with DbGridEh the list of uncial values of column is not formed automatically
Attachment:
File comment: DBGRIDEH + DS + ADO
Snap1.jpg [ 118.96 KiB | Viewed 2779 times ]
like when I use with memtable?
Attachment:
File comment: DBGRIDEH + DS + MEMTABLEEH
Snap2.jpg [ 164.39 KiB | Viewed 2779 times ]
Workaround:
for i := 0 to DBGridEh1.Columns.Count - 1 do
begin
DBGridEh1.Columns[i].STFilter.ListSource := DBGridEh1.DataSource;
DBGridEh1.Columns[i].STFilter.ListField := DBGridEh1.Columns[i].FieldName;
end;
is this the right way?
Many thanks for help!