Create a data grid that displays motor manufacturing details.
-
Create the motor manufacturing details label:
-
In Project view, right-click MainWindow (type), and select .
-
Hover-over the label, select
, and enter DateTimeDataLabel.
-
In Properties, set Text to Motor manufacturing details.
-
Create the motor data grid:
-
In Project view, right-click MainWindow (type) and select .
-
Hover-over the data grid, select
, and enter MotorDateTimeGrid.
-
In Properties, create a dynamic link between Model and .
-
Configure the motor name column:
-
In Properties, double-click DataGridColumn1 and enter MotorNameCol
-
Under DataItemTemplate, create a dynamic link between the Text property and
Tip: You can select the @BrowseName attribute by selecting it from the Attribute drop-down menu at the bottom.
For more information about dynamic links, see Create dynamic links.
-
Crete a dynamic link between the Order by property and
Tip: You can select the @BrowseName attribute by selecting it from the Attribute drop-down menu at the bottom.
For more information about dynamic links, see Create dynamic links.
-
Set Title to Motor Name
-
Create the motor manufacture date column:
-
In Properties, next to Columns, select
and select Text column.
-
Double-click the column name and enter MotorManufactureDateCol.
-
Under DataItemTemplate, create a dynamic link between Text and .
-
Set Title to Manufacture Date.
-
Create a dynamic link between Order by and .