SVN r1047
SVN-Revision: r1047
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user