protected void grid_CellEditorInitialize1(object sender, ASPxGridViewEditorEventArgs e)
{
if (e.Column.FieldName == "APPLICTN_ROLE_TYPE_CD")
{
ASPxComboBox comboAppRole = e.Editor as ASPxComboBox;
comboAppRole.DataSource = gettableUserAccRole();
comboAppRole.ValueField = "APPLICTN_ROLE_TYPE_CD";
comboAppRole.AutoPostBack = true;
comboAppRole.TextField = "APPLICTN_ROLE_TYPE_TXT";
comboAppRole.DataBindItems();
}
}
<dx:aspxgridview id="grid" oncelleditorinitialize="grid_CellEditorInitialize1" xmlns:dx="#unknown">
></dx:aspxgridview>