[CLOSED] Send all treepanel nodes to directevent as extraparam

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [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.
     <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]

Similar Threads

  1. Pass GridPanel or Store via DirectEvent/ExtraParam
    By slonati_adv in forum 2.x Help
    Replies: 1
    Last Post: Jun 18, 2012, 11:18 PM
  2. Replies: 2
    Last Post: Feb 28, 2012, 2:03 PM
  3. [CLOSED] Access TreeGrid nodes from DirectEvent handler
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Jun 28, 2010, 6:35 PM
  4. Replies: 3
    Last Post: Mar 29, 2010, 9:10 AM
  5. Replies: 3
    Last Post: Oct 18, 2009, 7:03 AM

Tags for this Thread

Posting Permissions