Providing Data

Note

In this tutorial, the Products table from the following XML data file is used.

C:\Users\Public\Documents\DevExpress Demos 18.2\Components\Data\DashboardProductDetails.xml

The Text Box dashboard item can be bound to data as other data-aware dashboard items. To do this, perform the following steps.

  1. Drop the Name, RetailPrice and Description data source fields from the Products table to the Values section of the Text Box.

    TextBoxBind_ValuesSection

    Note that summary types of the created measures are Min, Sum and Min, respectively.

  2. Click the Edit button in the Design ribbon tab and add the Name, Retail Price and Description strings to the document.

    TextBoxBind_NewDocument

  3. Place the pointer next to Name, right-click the document and select Insert Field (or use the Insert Field button in the ribbon). Then, click the Select value placeholder and select the Name (Min) measure.

    TextBoxBind_FieldContextMenu

  4. Perform the third step for Retail Price and Description.

    TextBoxBind_Bound

  5. Click the Edit button again to leave the editing mode. The Text Box will show data in the following way.

    TextBoxBind_FinalDocument

    You can use this Text Box as a detail item along with the Master Filtering feature to filter data according to the selected product.