FlexPivot enables users to add and update data incrementally through the C1DataEngine. This feature saves users from loading the entire data in every session since the data added in the first session persists. You can achieve this functionality by adding a few lines of code to your application. The data gets loaded into the view instantly without any delay in importing data since it is stored in memory-mapped files.
Refer to the product sample DataUpdate stored at the following location in your system to see the C1DataEngine in full action
C:\...\Documents\ComponentOne Samples\WinForms\DataUpdate.
Complete the following steps to incrementally update data in the FlexPivotPage control.
C# |
Copy Code
|
---|---|
Workspace.Init(dataPath); |
C# |
Copy Code
|
---|---|
connector.AppendData(tableName); |
C# |
Copy Code
|
---|---|
FlexPivotPage.FlexPivotPanel.PivotEngine.BeginUpdate(); FlexPivotPage.FlexPivotPanel.PivotEngine.EndUpdate(); |