SVN r1047

SVN-Revision: r1047
This commit is contained in:
cyf
2025-11-20 09:01:11 +00:00
parent 6c0f72cb62
commit 2616d5dbad
23 changed files with 741 additions and 202 deletions
@@ -46,7 +46,7 @@ namespace Lskj.Control.Model
/// </summary>
public bool isAllowDrag = true;
/// <summary>
/// 拖拽是否忽视节点
/// 拖拽是否忽视节点(不忽视必须要推拽到节点上)
/// </summary>
public bool NeglectingNodes = false;
/// <summary>
@@ -269,27 +269,4 @@ namespace Lskj.Control.Model
{
if (treeNode == null) return;
if (treeNode.Nodes.Count() > 0 && !CanDragParentNode)
{
MessageUtil.Show(string.Format(ResourceKeys.UnLastTreeNode, treeNode.GetDisplayText(treeListGrid.KeyFieldName)));
return;
}
}
if (!e.Data.GetDataPresent(typeof(TreeNode)))
{
if (OnDragComplete != null)
{
GridDragTreeGridArgs args = new GridDragTreeGridArgs();
args.GridViewObj = this._gridView;
args.TreeListObj = this._treeListGrid;
args.GridViewSelectRows = this.GetGridSelectRows(this._gridView.GetSelectedRows());
args.SelectTreeNode = treeNode;
args.BeforeTreeNode = this._beforeListNode;
OnDragComplete(sender, args);
}
}
}
}
}
}
if (treeNode.Nod