how to make particular column editable for copy in datagridview of devexpress in c#? -
i have devexpress datagridview have 10 columns first column name non-editable user should able copy cell content(name).
private void gridviewbatches_showingeditor(object sender, system.componentmodel.canceleventargs e) { gridview view = sender gridview; if (view.focusedcolumn.fieldname == "batch no") //editable true { e.cancel = false; } else //other column editble false { e.cancel = true; } }
Comments
Post a Comment