locked
Show Hide Tab/Sections on field change RRS feed

  • Question

  • We can hide show tabs/sections programmatic-ally using sdk UI components. Below example depicts hide/show of tabs and sections based on lookup field change. You can call below function on load of form & onchange of both fields
    Wednesday, January 29, 2014 5:03 AM

All replies

  • Which example your are talking about there is not link or example

    BTW

    As per your requirement 

    you can make ur tabs remove from control or other wise place tab control in group box or panel and on basis of your conditions change visibility of group box / panel

    Or

    You can also look for split container 

    Mark as ans if you feel it is helpful

    Shridhar J Joshi

    Wednesday, January 29, 2014 5:20 AM
  • Hi,

    Use this java script code for hide the tabs and section.

    Xrm.Page.ui.tabs.get(tabNumber).sections.get(sectionNumber).setVisible(false);

    • Proposed as answer by Akhileshrajpoot Wednesday, January 29, 2014 5:35 AM
    Wednesday, January 29, 2014 5:34 AM