Working with DataGrid for Silverlight

ComponentOne DataGrid for Silverlight allows you to select, edit, add, delete, filter, group, and sort the items displayed in the table generated by the C1DataGrid component.

The columns of a table created using the C1DataGrid component correspond to the fields in a data source. You can control which columns are displayed, the types of columns to display, and the appearance of the whole table.

Using the AutoGenerateColumns property, you can generate columns automatically, manually, or both. Setting this property to True (default) creates columns automatically when the ItemsSource property is set. Setting this property to False allows you to specify the columns to display, which are added to the Columns collection.

Note: By default explicitly declared columns are rendered first, followed by automatically generated columns. You can change the order of rendered columns by setting the DisplayIndex property of the column. Automatically generated columns are now added to the Columns collection.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.