Jun 18, 2010, 8:53 PM
TreeView Reorder icons issue
https://examples1.ext.net/#/TreePane...Reorder_Nodes/
Coolite: Version 1.0
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">Using the above example I've gotten a drag and drop between trees, reordering with SQL going. It?s working really well.
The only issue I am having is with icons not changing when they are moved over another leaf or branching beneath correctly.<BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break">
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">In the above example when you move a leaf over another it shows the addition icon and when dropped renders the Leaf into a Parent Node and then displays it branched out correctly beneath.
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">
If I refresh my tree it re-renders appropriately.
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">
Thank you,
Matt
Coolite: Version 1.0
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">Using the above example I've gotten a drag and drop between trees, reordering with SQL going. It?s working really well.
The only issue I am having is with icons not changing when they are moved over another leaf or branching beneath correctly.<BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break">
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">In the above example when you move a leaf over another it shows the addition icon and when dropped renders the Leaf into a Parent Node and then displays it branched out correctly beneath.
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">
If I refresh my tree it re-renders appropriately.
<P class=MsoNormal style="MARGIN: 0in 0in 10pt">
<ext:TreePanel ID="TreePanel2" runat="server" Title="" Width="400" UseArrows="true"
AutoScroll="true" Animate="true" EnableDD="true" ContainerScroll="true">
<Loader>
<ext:PageTreeLoader OnNodeLoad="POCTreeBuild">
</ext:PageTreeLoader>
</Loader>
<DirectEvents>
<NodeDrop OnEvent="NodeDrop">
<ExtraParams>
<ext:Parameter Name="TargetID" Value="dropEvent.target.id" Mode="Raw" />
<ext:Parameter Name="DropedID" Value="dropEvent.dropNode.id" Mode="Raw" />
</ExtraParams>
</NodeDrop>
</DirectEvents>
<Root>
<ext:AsyncTreeNode NodeID="8063" Text="Root" Icon="UserGray" />
</Root>
</ext:TreePanel>
It's got to be something simple I overlooked. Any thoughts?Thank you,
Matt