动态设置cxgrid列的Properties

myProperties1 :=  tcxcomboboxproperties.Create(nil);
  myProperties1.DropDownListStyle := lsEditFixedList;
  myProperties1.Items.Add(''并且'');
  myProperties1.Items.Add(''或者'');
  mycxviewColumn2.PropertiesClass := tcxcomboboxproperties;
  mycxviewColumn2.Properties := myProperties1;

posted on 2009-07-23 18:06  martian6125  阅读(241)  评论(0编辑  收藏  举报