SVN r912
SVN-Revision: r912
This commit is contained in:
@@ -927,20 +927,7 @@ namespace Lskj.Control
|
||||
this.panelControl1.Controls.Add(this.gcMain);
|
||||
}
|
||||
|
||||
//如果配置了聚合模式则构建多表头覆盖当前表格
|
||||
if (SysModel.IsCustomGroup == 1)
|
||||
{
|
||||
BandedGridControlEx bandedGridControlEx = new BandedGridControlEx();
|
||||
bandedGridControlEx.moduleModel = this.SysModel;
|
||||
bandedGridControlEx.Model = this.Model;
|
||||
bandedGridControlEx.SysModel = this.SysModel;
|
||||
bandedGridControlEx.Dock = DockStyle.Fill;
|
||||
// 明确设置禁止自动调整列宽
|
||||
bandedGridControlEx.BandedView.OptionsView.ColumnAutoWidth = false;
|
||||
gcMain.CustomGroupBandEx = bandedGridControlEx;
|
||||
this.panelControl1.Controls.Add(bandedGridControlEx);
|
||||
bandedGridControlEx.BringToFront();
|
||||
}
|
||||
|
||||
// 报表类型创建只读列
|
||||
if (this.Model is DynamicReportModel)
|
||||
{
|
||||
@@ -989,6 +976,21 @@ namespace Lskj.Control
|
||||
{
|
||||
this.gcMain.SetGridRightMenus(dt, this.Model, OnGridViewRightCallBack, this.SearchObj, null);
|
||||
}
|
||||
//如果配置了聚合模式则构建多表头覆盖当前表格
|
||||
if (SysModel.IsCustomGroup == 1)
|
||||
{
|
||||
BandedGridControlEx bandedGridControlEx = new BandedGridControlEx();
|
||||
bandedGridControlEx.moduleModel = this.SysModel;
|
||||
bandedGridControlEx.Model = this.Model;
|
||||
bandedGridControlEx.SysModel = this.SysModel;
|
||||
bandedGridControlEx.Dock = DockStyle.Fill;
|
||||
// 明确设置禁止自动调整列宽
|
||||
bandedGridControlEx.BandedView.OptionsView.ColumnAutoWidth = false;
|
||||
gcMain.CustomGroupBandEx = bandedGridControlEx;
|
||||
bandedGridControlEx.SetGridRightMenus(dt, this.Model, OnGridViewRightCallBack, this.SearchObj, null);
|
||||
this.panelControl1.Controls.Add(bandedGridControlEx);
|
||||
bandedGridControlEx.BringToFront();
|
||||
}
|
||||
InitializedragState();
|
||||
SetGridRowHeightAndFont();
|
||||
if (Model.IsBaseModule)
|
||||
|
||||
Reference in New Issue
Block a user