SVN r406
SVN-Revision: r406
This commit is contained in:
@@ -858,6 +858,8 @@ namespace Lskj.Control
|
|||||||
bandedGridControlEx.moduleModel = this.SysModel;
|
bandedGridControlEx.moduleModel = this.SysModel;
|
||||||
bandedGridControlEx.Model = this.Model;
|
bandedGridControlEx.Model = this.Model;
|
||||||
bandedGridControlEx.Dock = DockStyle.Fill;
|
bandedGridControlEx.Dock = DockStyle.Fill;
|
||||||
|
// 明确设置禁止自动调整列宽
|
||||||
|
bandedGridControlEx.BandedView.OptionsView.ColumnAutoWidth = false;
|
||||||
gcMain.CustomGroupBandEx = bandedGridControlEx;
|
gcMain.CustomGroupBandEx = bandedGridControlEx;
|
||||||
this.panelControl1.Controls.Add(bandedGridControlEx);
|
this.panelControl1.Controls.Add(bandedGridControlEx);
|
||||||
bandedGridControlEx.BringToFront();
|
bandedGridControlEx.BringToFront();
|
||||||
@@ -4072,6 +4074,13 @@ namespace Lskj.Control
|
|||||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
||||||
protected void OnSaveClick(object sender, EventArgs e)
|
protected void OnSaveClick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (this.GridControlObj.CustomGroupBandEx != null)//保存前若存在虚拟多表头则反写修改
|
||||||
|
{
|
||||||
|
|
||||||
|
this.GridControlObj.callbackUpdData();
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
int dataNumber = (this.GridControlObj.GridView.GetGridViewFilteredAndSortedDataToDataTable() as DataTable).Rows.Count;
|
int dataNumber = (this.GridControlObj.GridView.GetGridViewFilteredAndSortedDataToDataTable() as DataTable).Rows.Count;
|
||||||
|
|
||||||
for (int i = 0; i < dataNumber; i++)
|
for (int i = 0; i < dataNumber; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user