Speed of cjReportControl

This forum is for support of XCodeJock
Post Reply
Message
Author
skiman
Posts: 1195
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Speed of cjReportControl

#1 Post by skiman »

Hi,

If you want to use the reportcontrol the best thing you can do is to disable the
// oReport:SetCustomDraw( xtpCustomBeforeDrawRow )

This slows down the reportcontrol. If this is disabled, the speed is very good, and the control can be used with big tables.

With the definition of a header array and putting the data in an array, you can create with a minimum of effort a very functional report control.
Best regards,

Chris.
www.aboservice.be

User avatar
Tom
Posts: 1205
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Speed of cjReportControl

#2 Post by Tom »

As I understand the docs, this would conflict with the "Virtual Mode", which is needed for large datasets. :?
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

skiman
Posts: 1195
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Speed of cjReportControl

#3 Post by skiman »

Hi Tom,

I tested with a report of 15.000 lines, and it works without problem.

I will use the control to offer an easy way for subtotaling, moving columns, and printing the way the user wants it. The user can drag and drop columns, change order, change subtotalling, ...

I don't want to use this as a browse on large datasets.
Best regards,

Chris.
www.aboservice.be

Post Reply