有点郁闷的XtraGrid AutoPopulateColumns Property

官方说明:

Property value

Type: Boolean
true if the columns are created automatically when the View doesn't contain any columns; otherwise, false.
The default is true.

   

只能在没有任何行的时候才能自动添加!

   

我手动增加了一列,其它的全部想自动添加列,用什么方法简单呢?

 

//而应用PopulateColumns()又会清除手工增加的行!

//gridView2.PopulateColumns();

posted @ 2011-07-09 15:30  GoldArch  阅读(639)  评论(0编辑  收藏  举报