提交当前本机整理版本
This commit is contained in:
@@ -2592,4 +2592,27 @@ namespace Lskj.ProductiSched
|
||||
dt = this.bandGcTop.GridView.GetGridViewFilteredAndSortedDataToDataTable();
|
||||
BindingSource bindingSource = new BindingSource();
|
||||
bindingSource.DataSource = dt;
|
||||
int numb
|
||||
int numberOfRows = bindingSource.Find(this.DataModel.TopModuleModel.ParmaryKey, SelectTheLine[this.DataModel.TopModuleModel.ParmaryKey].ToString());
|
||||
this.bandGcTop.GridView.ClearSelection();
|
||||
this.bandGcTop.GridView.FocusedRowHandle = numberOfRows;
|
||||
this.bandGcTop.GridView.SelectRow(numberOfRows);
|
||||
}
|
||||
//this.OnSearchAfterCallBack(null, null);
|
||||
//int rightOldRowHandle = 0;
|
||||
//rightOldRowHandle = gcRight.GridView.FocusedRowHandle;//上一次选中行
|
||||
//刷新右侧
|
||||
this.OnBandedViewRowCellClick(null, null);
|
||||
// gcRight.GridView.SelectRowHandler(oldRowHandle);
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user