ComponentOne GridView for ASP.NET AJAX: Using GridView for ASP.NET AJAX > Editing Rows

Editing Rows

Each row in the C1GridView component represents a record in the data source. You can select, edit, delete, and apply different styles to your rows.

If you are creating data manually, by adding a C1ButtonField and code for the RowEditing, C1GridView.UpdateCommand and RowCancelingEdit events, you can select each row to be edited or deleted. If you connect to the data source control, this is all taken care for you automatically.

The EditRowStyle property allows you to determine the appearance of the rows. For additional information on editing rows, see GridView for ASP.NET AJAX Task-Based Help.

The RowMerge property allows you to merge rows containing identical text. You can use the Property builder to specify which rows to merge and how they are merged. For additional information, see Merging Rows.

You can use AJAX to update the grid when the user edits a record at run time by setting the CallbackOptions property. For more information, see Editing a Record.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.