2 Replies Latest reply: Jun 15, 2012 10:09 AM by dmohan RSS

    How to store total in Vo attribute for Advanced Table???

    Satvik
      I calculated Total for a column in advanced table...It is working fine..

      But I want to store that Total in one of the attribute of Vo.

      How to do this???
      How to Read Total for advanced table?

      I am trying to use...

      OATableBean tableBean = ...; How to get this handle??
      OATableFooterBean tableFooterBean = tableBean.getFooter();
      609
      if (tableFooterBean != null)
      {
      // Get a handle to the total row bean
      OATotalRowBean totalRowBean = tableFooterBean.getTotal();
      // If you want to set text for the total button
      totalRowBean.setText("Re-Total");
      // If you want to hide the recalculate total button
      totalRowBean.setReadOnly(true);
      }

      But not able to do...Please help me........

      Edited by: Satvik on Jan 4, 2012 7:02 PM