Working with the DataGrid

The DataGrid has the most functionality of the iterative controls. The DataGrid represents data in a table format in which every item is represented in a row and fields are represented in columns. The DataGrid supports full template capabilities. Within the DataGrid, you can provide the capability to select, sort, and edit deleting and paging items.

Five column types are supported in the DataGrid—one of which allows you to create custom templated columns. This makes the possibilities with the DataGrid columns unlimited.

Table 27.6 lists the various column types supported by the DataGrid.

Table 27.6. Data Grid Column Types
Column TypeDescription
BoundColumnRenders a column that is bound to a data source field.
ButtonColumn ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.