Back to Devexpress

XPO Data Source

wpf-115634-controls-and-libraries-pivot-grid-binding-to-data-items-source-configuration-wizard-xpo-data-source.md

latest1.1 KB
Original Source

XPO Data Source

  • Sep 10, 2020
  • 2 minutes to read

The Items Source Configuration Wizard allows you to bind the PivotGridControl to an XPO data source. This topic goes over the steps needed to do this.

  1. Click the PivotGridControl’s smart tag and select the Items Source Wizard command.

  2. In the invoked Items Source Configuration Wizard, select DevExpress ORM Tool (XPO)

  3. The following message will appear.

  4. On the next page, you can generate persistent objects using the ORM Data Model Wizard or you can create persistent objects manually. Select the required option, specify the object name and click Add.

  5. After creating a data source, click Items Source Wizard again.

  6. In the invoked Items Source Configuration Wizard, select the created data model.

  7. On the next page, select the required binding method.

  8. On the final page, you can specify the table.

  9. The PivotGridControl will be bound to the created data source.