Print Page | Close Window

Filtering huge data - CXTPReportFilterEditControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15956
Printed Date: 29 September 2024 at 11:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Filtering huge data - CXTPReportFilterEditControl
Posted By: Sergio
Subject: Filtering huge data - CXTPReportFilterEditControl
Date Posted: 06 January 2010 at 4:48am
Hello,

Happy New Year!


1) Is it possible to add some delay to the CXTPReportFilterEditControl before applying the filter?

When there are a lot of records, typing the filter is slow because the filter is applied to each typed character!

The filter should be applied 100 milliseconds after the last typed character. If a character is typed in the meantime, the delay should be reseted to 100 milliseconds.


2) Is it possible to make the copy/paste available when typing text in the filter text edit control?


I hope you will give an answer.

Regards,

-------------
Sergio



Replies:
Posted By: mdoubson
Date Posted: 06 January 2010 at 5:01pm
Derive your own class from CXTPReportFilterEditControl with delay reaction you need and assign it to ReportHeader with function

BOOL CXTPReportHeader::SetFilterEditCtrl(CXTPReportFilterEditControl* pFilterEdit)



-------------
Mark Doubson, Ph.D.


Posted By: Sergio
Date Posted: 04 March 2010 at 8:53am
Originally posted by mdoubson mdoubson wrote:

Derive your own class from CXTPReportFilterEditControl with delay reaction you need and assign it to ReportHeader with function

BOOL CXTPReportHeader::SetFilterEditCtrl(CXTPReportFilterEditControl* pFilterEdit)



OK, I will try to "override" the reflected message EN_CHANGE, and modify the method CXTPReportFilterEditControl::OnChange().

Thank you.


-------------
Sergio



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net