Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

refresh table on click of sort ascending or descending

966801Mar 21 2013 — edited Mar 21 2013
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

Comments

Timo Hahn
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.

Timo
vikasadf
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
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 18 2013
Added on Mar 21 2013
2 comments
256 views