1 Reply Latest reply on Feb 6, 2013 5:13 PM by 898100

    How to change the back ground color of Headers in OAF Advance Table/Table

      Dear All,

      I have a requiremnet to change the color of the header background to RED in OAF. We have written the below code in CO PR .Its changing the background color only to the prompt and not the entire header.

      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
      super.processRequest(pageContext, webBean);
      OAApplicationModule am = pageContext.getApplicationModule(webBean);
      basicDetVOImpl payVO = (basicDetVOImpl)am.findViewObject("basicDetVO1");
      OAAdvancedTableBean tableBean = (OAAdvancedTableBean)webBean.findIndexedChildRecursive("AdvTabRN");
      OAColumnBean columnBean = (OAColumnBean)tableBean.findIndexedChildRecursive("empNum");
      OASortableHeaderBean colHeaderBean = (OASortableHeaderBean)columnBean.getColumnHeader();
      System.out.println("colHeaderBean is"+colHeaderBean);
      CSSStyle oraaniltext = new CSSStyle();
      oraaniltext.setProperty("background-color", "#FF0000");

      Please suggest
      Your earlier response would be appriciated.