cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

WTreeTable Events

ses
1-Visitor
1-Visitor

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

5 REPLIES 5
ttielebein
14-Alexandrite
(To:ses)

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

ses
1-Visitor
1-Visitor
(To:ttielebein)

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

ttielebein
14-Alexandrite
(To:ses)

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.

ses
1-Visitor
1-Visitor
(To:ttielebein)

I am referring to WTree Table.

Pls see the screenshot.

Thankstree table.png

ttielebein
14-Alexandrite
(To:ses)

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

Announcements


Top Tags