5 Replies Latest reply: Aug 1, 2013 6:17 AM by Raghava Ravindranath-Oracle RSS

    How to set default sorting order in ADF Table for a transient attribute in the VO

    Raghava Ravindranath-Oracle

      Guys,

       

      I have a VO with 2 columns,one of the column is transient attribute.  In my jsff page, I have a af:table which displays transient attribute.

      When the page is loaded for the first time, by default, the transient attribute values should be sorted in ascending order. Currently, the values displayed are not sorted. I need to click on sort button to sort the values. I need to change this behavior to sort automatically when page is displayed for the first time.

       

      Question: How can i set default sorting order in ADF table for a transient attribute?

      Note: I have to do it pragmatically, as I cannot use Order by clause in my VO for the transient attribute.

       

      Please help.

       

      Thanks,

      Raghava