Question

Hide "+" on Column Setup

Hi Community,

 

I want to hide the "+" button shown below, during column setup. The expectation is that the user should only select the current object's columns. This functionality is similar to Customer Portal users as it is not visible to them.

 

 

Is there a way to hide this for normal users also? Any suggestions will be appreciated.

 

Regards,

Sourav

Like 1

Like

1 comments

Hi,

The code for this button is:

{
						className: "Terrasoft.Button",
						visible: {
							bindTo: "ExpandVisible"
						},
						click: {
							bindTo: "expand"
						},
						markerValue: "addObject",
						imageConfig: resources.localizableImages.ExpandImage,
						style: Terrasoft.controls.ButtonEnums.style.TRANSPARENT
					}

It is defined in the schema StructureExplorerViewConfig. As you can see, the parameter "visible" is bonded to the attribute ExpandVisible.

This attribute is located in the schema StructureExplorerMainViewModel and you can override this schema and set any value you want to it based on the needed condition.

Show all comments