This example demonstrates how to disable editing for rows, whose discontinued value is true. In this example, ASPxGridView is created with ASPxGridView.SettingsEditing.Mode = "Batch" and the ASPxGridView.HtmlRowCreated event is handled. For each cell in a row whose discontinued value is true, an attribute that cancels a click is added.
↧