puzzle of the "ReportSample" demo |
Post Reply |
Author | |
heartofdra
Newbie Joined: 02 November 2006 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 07 November 2006 at 12:42am |
The "ReportSample" demo :
its "filter" function can change the rows dynamic . But , I can't find the code(in my mind ,it is a function ) which response this "filter" function , can you tell me your train of thoughts??
thx !
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
External interface is simple -- you set a corresponding Filter string editing controland then it does all the job by itself:
If you'd like to see the current filter or to modify it, look at methods CXTPReportControl::SetFilterText and CXTPReportControl::GetFilterText. And if you'd like to modify filtering functionality, then take a look at CXTPReportControl::ApplyFilter method. You can override it in your custom ReportControl - derived class and implement in any way you'd like. -- WBR, Serge |
|
heartofdra
Newbie Joined: 02 November 2006 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Thx
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |