Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation x

Facing issues while working with onClickHandler function in Split Pane functionality

Kanchana
10-Marble

Facing issues while working with onClickHandler function in Split Pane functionality

Version: Windchill 13.0

 

Use Case: When we click a Part on Left Pane then we will be seeing the documents on the right pane.


Description:

Requirement : When we click a Part on Left Pane then we will be seeing the documents on the right pane.

There is a same functionality on Part Structure Tab for WTPart object. I am not able to find the OOTB files. 

 

KanchanaDutta_0-1771227779398.png

I am referring to carambola, TwoPaneExample.js. Could anyone please help me with this ?

 

4 REPLIES 4
HelesicPetr
22-Sapphire II
(To:Kanchana)

Hi @Kanchana 

I would use js function to reload the right table. You should be able to call the js function when you click on the wtpart in the left tree.

In the table definition you should be able to get the selected row information from a commandBean 

 

I use this technique in own wizard to load data to a table based on a previous step definition.

PetrH

Hi @HelesicPetr 

 

Thanks for your response!

Could you please help me with a sample code or a OOTB reference?

 

 

HelesicPetr
22-Sapphire II
(To:Kanchana)

Hi @Kanchana 

There is no ootb reference. The Part Structure Browser is based on GWT technology and it is outside of any usable references.

 

Based on your own custom pages you can use own way how to achieve what you need.

 

In your jsp page you have to write js function that refresh your target table with documents.

It should call the table buildComponentData where you should be able to retrieve the correct selection from the first table tree. 

 

PetrH

Hi @HelesicPetr 

Agreed. Part Structure is based on GWT technology. Here is my observation : Under Product -> Folder also uses Split Pane functionality. I tried using Inspect on the Page but I was not able to find the js and jsp it is using. On clicking on Parts folder in the Left, it is displaying the Parts on the Right.

KanchanaDutta_0-1771325809122.png

Also, I am working with Split Pane OOTB example:

\codebase\netmarkets\jsp\carambola\customization\examples\twoPanePanels

Please find the document to understand the functionalities I have tried to implement. Could you please look into the document and guide me on the next steps if possible?

 

Thank you !

Kanchana 

 

Announcements


Top Tags