Feb 08, 2011, 4:56 PM
[CLOSED] Send all treepanel nodes to directevent as extraparam
Hi,
I have a page which includes an editable treepanel + other controls.
I want everything to be saved in 1 directevent, but i don't know how to get all the treepanel nodes and add them as an extraparam.
Can you help me out?
I found this method in a previous post, but with this it's only possible to get 1 node.
I have a page which includes an editable treepanel + other controls.
I want everything to be saved in 1 directevent, but i don't know how to get all the treepanel nodes and add them as an extraparam.
Can you help me out?
I found this method in a previous post, but with this it's only possible to get 1 node.
<DirectEvents>
<Click OnEvent="SubmitNode">
<ExtraParams>
<ext:Parameter Name="node" Value="#{TreeGrid1}.convertToSubmitNode(#{TreeGrid1}.getSelectionModel().getSelectedNode())" Mode="Raw" Encode="true"/>
</ExtraParams>
</Click>
</DirectEvents>
Let me know if you want an example.
Last edited by Daniil; Feb 09, 2011 at 5:00 PM.
Reason: [CLOSED]