locked
hide associate grid view add button RRS feed

  • Question

  • Hi 

    I want to delete a add button from grid associated view depending on value of field


    Thank you

    Friday, October 17, 2014 5:00 PM

All replies

  • its OK  i find the solution 

    $('#idOfHTMLSection').css("visibility","hidden");

    Friday, October 17, 2014 6:09 PM
  • Actually direct access to the CRM DOM (like above) results in an unsupported solution.  The supported way is through the Ribbon.xml on your entity.  The Ribbon Workbench is a good tool to use to manipulate that item.  You will open the entity in this tool and remove its add button from the subgrid.
    Friday, October 17, 2014 7:28 PM