This example illustrates how to change an editor's server-side properties based on the key value if ASPxGridView uses the Batch Edit mode. ASPxMemo placed inside the C3 column has different MaxLength for different rows: MaxLength = 4 for rows with the odd ID and 10 for rows with the even ID.
Note: this example is created based on the ASPxGridView - Batch Editing - A simple implementation of an EditItem template one. You can refer to this example to get information about the implementation of the ASPxGridView's EditItem template in BatchEdit mode.