Question

Disable Contact link in section page

Hi,

 

In the overview of a custom section, the contact is shown in the second column. Clicking this contact will redirect to the Contact page. --> http://prntscr.com/lu135p

Now I want to disable this link to the contact. 

I tried this:

 

prepareResponseCollectionItem: function(item) {

this.callParent(arguments);

item.customStyle = {

"pointerEvents": "none"

};

}

 

But this disables all links, not only the link to the contact.

Any ideas? 

 

Thanks!

Like 0

Like

1 comments

Dear Vincent,

Please draw your attention to the addColumnLink() method of the GridUtilities schema. 

You can override this method in the replacing schema of needed section. Set if clause check so to pick needed column out of the collection. Set this column property for pointer events.

In this case changes will be applied only to the indicated columns.

Hope you will find it helpful.

Regards,

Anastasia 

Show all comments