Home > Back-end >  Delphi dbgrideh filtering problem
Delphi dbgrideh filtering problem

Time:09-20



I use dbgrideh want to realize the function of the above, please god tell worry thank you very much

CodePudding user response:

Set searchpanel enabled:=true, don't know if you want

CodePudding user response:


DBG_Detail. STFilter. Visible:=True;
DBG_Detail. STFilter. Location:=stflInTitleFilterEh;
DBG_Detail. STFilter. FilterButtonDrawTime:=fbdtWhenCellHotEh;
DBG_Detail. STFilter. Local:=True;

Initialization
DBGridEhDefaultStyle. IsDrawFocusRect:=True;
DBGridEhCenter. FilterEditCloseUpApplyFilter:=True;

CodePudding user response:

Could you tell me what you use data sets, besides MemTableEh data sets, if fill filter content?

CodePudding user response:

My problem has been resolved, the following
DBGridEh1. Columns [1]. STFilter. ListSource:=DataSource1;//this to set up and DBGridEh1 DataSource,

CodePudding user response:

reference 4 floor ghs79 response:
my problem has been resolved, the following
DBGridEh1. Columns [1]. STFilter. ListSource:=DataSource1;//this to set up and DBGridEh1 DataSource,


  • Related