SVN-Revision: r492
This commit is contained in:
cyf
2025-04-14 08:45:49 +00:00
parent 2cbdfab4f8
commit b994c548e3
@@ -285,6 +285,11 @@ namespace Lskj.ProductPlatform
this.SearchObj.OnSearchAfterCallBack += new EventHandler(OnSearchAfterCallBack);// 查询条件执行前 this.SearchObj.OnSearchAfterCallBack += new EventHandler(OnSearchAfterCallBack);// 查询条件执行前
this.SearchObj.OnDataSourceBindCallBack += new EventHandler(ControlObj_OnDataSourceBindCallBack); this.SearchObj.OnDataSourceBindCallBack += new EventHandler(ControlObj_OnDataSourceBindCallBack);
if (this.ModelObj.GridObjIsCheck == 1)//主表加载复选框,搜索后不记住上一次选中行
{
this.SearchObj.RememberRow = false;
}
this.gcMain.SetReadOnlyColumns(columns, GridCustomColumnStruct.BaseMainGridView + this.ModelObj.FormKey, mColumnFont, DevExpress.Utils.DefaultBoolean.False); this.gcMain.SetReadOnlyColumns(columns, GridCustomColumnStruct.BaseMainGridView + this.ModelObj.FormKey, mColumnFont, DevExpress.Utils.DefaultBoolean.False);
this.gcMain.GridView.OptionsView.RowAutoHeight = true; this.gcMain.GridView.OptionsView.RowAutoHeight = true;
this.gcMain.SetGridRowColors(BaseModuleImpl.GetBaseGridRowColors(this.mMenuCode)); this.gcMain.SetGridRowColors(BaseModuleImpl.GetBaseGridRowColors(this.mMenuCode));