SVN r845
SVN-Revision: r845
This commit is contained in:
@@ -1600,7 +1600,7 @@ namespace Lskj.ProductiSched
|
||||
weekBand.Caption = $"{weekStart:MM.dd}/{weekEnd:MM.dd}"; // 父 Band:日期范围
|
||||
weekColumn.FieldName = weekStart.ToString("yyyy-MM-dd"); // 字段名:周一
|
||||
weekColumn.Caption = $"{pivotDate.Month}月第{weekOfMonth}周"; // 列标题:几月第几周
|
||||
weekColumn.Width = 80;
|
||||
weekColumn.Width = 90;
|
||||
DataModel.columnDateMapping[weekColumn] = weekStart;
|
||||
weekColumn.OptionsColumn.AllowEdit = weekEnd >= DateTime.Today; // 仅未来可编辑
|
||||
weekColumn.Visible = true;
|
||||
@@ -2563,27 +2563,4 @@ namespace Lskj.ProductiSched
|
||||
dt = this.bandGcTop.GridView.GetGridViewFilteredAndSortedDataToDataTable();
|
||||
BindingSource bindingSource = new BindingSource();
|
||||
bindingSource.DataSource = dt;
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
int numberOfRows = binding
|
||||
Reference in New Issue
Block a user