Group: Forum Members
Posts: 386,
Visits: 2.1K
|
Hi Ivan,
We have a solution to our problem - so no urgency for any changes in the SF area. Rather than use a BO to populate the Pivot Grid we now use the BO's data table. The following code has been added just after the refresh of the BO using the current data selection criteria (dtForPivotGrid is a data table).
dtForPivotGrid = Me.BoHPCForPivot1.CurrentDataTable
Me.PivotGridControl1.DataSource = dtForPivotGrid
Me.BoHPCForPivot1.Clear()
This change has had an enormous impact. The form close is now instant but the time it takes to refresh the Pivot Grid has also been dramatically reduced. When the Pivot Grid used the BO refreshing it with (say) 200,000 records took about 4 minutes. Now the BO's data table is used (rather than the BO object itself) the Pivot Grid refresh just takes around 15 seconds.
Cheers, Peter
|