5 Replies Latest reply on Aug 24, 2016 8:51 AM by ttielebein RSS
    ses Apprentice

    WTreeTable Events

    Hi Experts,

     

    I was able to show data populated in WTreeTable.

    Now, I want to trigger an event when I click on the leaf node.

    I want to call a service, with the leaf-node name as the parameter to the service.

     

    Can anyone help in doing this?

     

    Thanks

      • Re: WTreeTable Events
        ttielebein Collaborator

        Hello, I am not sure what you mean by WTreeTable. Is this from an extension of some kind?

          • Re: WTreeTable Events
            ses Apprentice

            Yes Tori. Itz a part of Windchill extension.

            If my need can be served with TreeTable, then it is also fine if you put some guideline in it.

             

            Thanks

              • Re: WTreeTable Events
                ttielebein Collaborator

                Can you take a screenshot of where you are seeing this? I asked a member of the Windchill Connector team for guidance, and they still were not sure to what you are referring. Do you mean to say Tree Widget? That, I have heard of.

                  • Re: WTreeTable Events
                    ses Apprentice

                    I am referring to WTree Table.

                    Pls see the screenshot.

                     

                    Thankstree table.png

                      • Re: WTreeTable Events
                        ttielebein Collaborator

                        So, I am not sure which extension includes this widget, but for the Tree Widget, in order to set up an event when a new leaf node is selected, you can try using the SelectionChanged event and tie that to a service of some kind. You'd have to bind an Infotable-providing service to the data on the table, and then bind a service to SelectionChanged on that service that as part of running would check to see if the selected item is a leaf node. If this doesn't work, then you will probably have to develop a customer widget. Documentation for that can be found in the Help Center.


                        Hope this helps!

                        Tori