Skip to main content
10-Marble
February 13, 2026
Solved

Unable to fetch how to enable the Right click on Parts to show the Actions similar to Parts

Is there an API to achieve this requirement?

On the Part Structure Tab, when we right click on a Part, we see the Actions. I want to implement the same on the Parts that are getting displayed on the my custom Tree.

Desired outcome: 

KanchanaDutta_0-1770963170244.png

The Output I am seeing : 

KanchanaDutta_1-1770963251480.png

 

TDTAnswer
18-Opal
February 13, 2026

Hi @KanchanaDutta,

Please add the following logic within the buildComponentConfig method of the TreeBuilder class.

ColumnConfig rowLevelActions= var2.newColumnConfig("nmActions", false);
rowLevelActions.setActionModel("actionModel");
rowLevelActions.setHidden(true);
jcaTree.addComponent(rowLevelActions);

Note: The actionModel should include the required list of actions, which must be defined in your custom-actionModels.xml file.

5 replies

TDT18-OpalAnswer
18-Opal
February 13, 2026

Hi @KanchanaDutta,

Please add the following logic within the buildComponentConfig method of the TreeBuilder class.

ColumnConfig rowLevelActions= var2.newColumnConfig("nmActions", false);
rowLevelActions.setActionModel("actionModel");
rowLevelActions.setHidden(true);
jcaTree.addComponent(rowLevelActions);

Note: The actionModel should include the required list of actions, which must be defined in your custom-actionModels.xml file.

Translate
10-Marble
February 13, 2026

Hi @TDT ,

Let me try this 

Translate
10-Marble
February 13, 2026

One doubt. I tried to do jcaDebug to find the Action model used in Part Structure for the Parts. It does not show me the model name. How to get this ?

KanchanaDutta_0-1770966993615.png

 

Translate