Forum Stats

  • 3,874,635 Users
  • 2,266,757 Discussions


refresh table on click of sort ascending or descending

966801 Member Posts: 91
edited Mar 21, 2013 7:56AM in JDeveloper and ADF
i have a table on a jspx. when a user clicks sort ascending or descending on table column header, i need to refresh / reload table. how can this be done in jdev 11 1 1 5


  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,923 Red Diamond
    This should be a normal operation as the sorting is done on the DB and not in memory (if you have not changed this).
    If the sort is done on the db it execute the query again with a order by clause.

  • vikasadf
    vikasadf Member Posts: 49
    edited Mar 21, 2013 7:56AM
    The table gets refresh automatically when you click on ascending or descending button.
    If you need to refresh your table forcefully then use AdfFacesContext.getCurrentInstance().addPartialTarget(tableBinding);
    you can write your code in short listener if you need to write your custom code.This code will be executed every time you click on ascending or descending button.

    Edited by: 812903 on Mar 21, 2013 4:54 AM
This discussion has been closed.