Devexpress winform Autogenerate columns

Simon Huynh picture Simon Huynh · Jul 15, 2013 · Viewed 7.7k times · Source

Please help me on how to access AutoGenerateColumns property of GridControl in devexpress just like datagridview in normal control of winform.

Answer

Ehsan picture Ehsan · Jul 15, 2013

You will have to do this

gridview1.OptionsBehavior.AutoPopuplateColumns = false;

See this for details AutoPopulateColumns