/// <summary> /// 添加行后 /// </summary> /// <param name="e"></param> private void Act_AfterCNER(CreateNewEntryEventArgs e) { string _EntryName = e.Entity.DynamicObjectType.ToString(); //引发事件的表体名 FEntity-明细信息 | FEntityBPR-基价计算表体 if (e.Row > 0) { string _curFClass = this.CZ_GetRowValue_DF("FClass", e.Row - 1, "0"); this.View.Model.SetValue("FClass", _curFClass, e.Row); return; } }
public override void AfterCreateNewEntryRow(CreateNewEntryEventArgs e) { base.AfterCreateNewEntryRow(e); this.Model.SetValue("FAMonth", DateTime.Today.Month); }
/// <summary> /// 添加行后 /// </summary> /// <param name="e"></param> public override void AfterCreateNewEntryRow(CreateNewEntryEventArgs e) { base.AfterCreateNewEntryRow(e); Act_AfterCNER(e); }
public override void AfterCreateNewEntryRow(CreateNewEntryEventArgs e) { base.AfterCreateNewEntryRow(e); this.View.GetControl <EntryGrid>("F_SZXY_XYTFEntity").SetEnterMoveNextColumnCell(true); }