Hide section in crm 2013


  • HI

    Hide the section in crm 2013

    I can able to hide tab using this line code


    i tried for the section


    it's not working can you please help  me on this


    Tuesday, August 05, 2014 3:34 PM

All replies

  • Hi Ram,

    Please try using the name of the section instead of label.



    Tuesday, August 05, 2014 11:54 PM
  • Hi Thanks for your reply..

    How to hide the subgrid (Grid).. can you please suggest me..


    Wednesday, August 06, 2014 6:12 AM
  • Hi,

    var subGrid = Xrm.Page.ui.controls.get("subgrid_uniqueaName");

    subGrid.setVisible(false); // hide

    subGrid.setVisible(true); // show

    Or, Place the gird in a Section Or a Tab, and use javascript to show/hide subgrid. 

    Thanks and Regards.

    • Edited by Ravitheja J Wednesday, August 06, 2014 6:22 AM
    Wednesday, August 06, 2014 6:19 AM
  • Hi

    subgrid hiding is not working am getting error message on setvisible method..

    please check in ur end please... it's really urgent for me


    • Edited by Rammohan Ammiti Wednesday, August 06, 2014 6:34 AM spelling worng
    Wednesday, August 06, 2014 6:33 AM
  • Hi Rammohan,

    Put your subgrid in new Section. then write below code to hide.


    • Proposed as answer by Suresh Sorde Wednesday, August 06, 2014 7:03 AM
    Wednesday, August 06, 2014 7:03 AM