SVN r949
SVN-Revision: r949
This commit is contained in:
@@ -93,7 +93,6 @@ namespace Lskj.Control
|
||||
this.TreeListObj.CustomDrawNodeIndicator += TreeListObj_CustomDrawNodeIndicator;//显示行号
|
||||
this.gcMain.CellValueChanged += GcMain_CellValueChanged;
|
||||
this.gcMain.NodesReloaded += OnNodesReloaded;
|
||||
|
||||
this.gcMain.ColumnFilterChanged += TreeList1_ColumnFilterChanged;
|
||||
|
||||
|
||||
@@ -1134,6 +1133,12 @@ namespace Lskj.Control
|
||||
btnEdit.SeparatorChar = ',';
|
||||
btnEdit.ValueMember = model.FieldType == ControlType.LabSelectReturnIdNew ? model.ValueMember : model.TextMember;
|
||||
//btnEdit.DataSource = MainImpl.GetDataTableResult(model.SqlSource);
|
||||
if (model.ModuleFrameDisplayText)
|
||||
{
|
||||
DataTable dataTable = MainImpl.GetDataTableResult(modelLookUp.SysModel.MenuSql);
|
||||
btnEdit.DataSource = dataTable;
|
||||
}
|
||||
|
||||
btnEdit.Buttons[0].Visible = false; // 不能移除,移除后事件不起作用.
|
||||
btnEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Ellipsis) });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user