Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Hide add new button of subgrid when there are a records in the subgrid

$
0
0

Hi,

I want to hide the '+' (Add New record) button of Subgrid and 'New' button of Custom entity (On ribbon) as well. When we click on '+' button of Subgrid, it open the custom entity form where have some custom fields. If a custom field value is ' tech support', then only allow to add more than one record otherwise want to hide the add button of Subgrid. Subgrid is under a tab on Opportunity form.

I tried to do using JavaScript but not working. Please help.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images