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

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -