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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -