绑定gridControl的对象list,(opList为ord_plantofo_view的list;)
gridControl1.DataSource = new BindingList<ord_plantofo_view>(opList);
var grv = this.tofoInfoDXGrv;grv.OptionsBehavior.ReadOnly = false;
grv.OptionsBehavior.Editable = true;
grv.OptionsView.NewItemRowPosition = NewItemRowPosition.Bottom;