Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 08:18

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 09 Sep 2014, 21:07 
Offline

Joined: 05 Jun 2014, 04:10
Posts: 17
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
Snap1.jpg [ 118.96 KiB | Viewed 2468 times ]


like when I use with memtable?
Attachment:
File comment: DBGRIDEH + DS + MEMTABLEEH
Snap2.jpg
Snap2.jpg [ 164.39 KiB | Viewed 2468 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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group