Devexpress gridview column settings
{
dataField: "Role",
validationRules: [{ type: "required" }],
lookup: {
dataSource: [{ "name": "Admin" }, { "name": "Super Admin" }, { "name": "User" }],
displayExpr: "name",
valueExpr: "name"
},
editorOptions: {
readOnly: true,
}
},
0 Comments