Please disable your adblock and script blockers to view this page

Search this blog

Thursday 10 April 2014

Pagination in ADF table with Jdeveloper 12.1.2 (ADF 12C) - returned back

Hello All,
Pagination in ADF table was very requested feature after Jdev & ADF 10g.
now in 12C again it is here and quite simple

  • Created a fusion web application using Departments table of HR Schema and dropped it on page as ADF table


  • Now suppose i want to show pagination after 5 rows so to achieve this follow these steps
  • Select table in structure window and go to property inspector change it's scrollPolicy to page ,scrollPolicy is mechanism to scroll data inside table




  • Now select table on page and go to binding tab and select IteratorBinding of Departments table and change rangeSize to 5, by default it is 25 (means fetched 25 rows at a time)


  • Set autoheightRows to 0 and styleClass to AFStretchWidth and you are done now run your page


  • It works good in mozilla ,chrome and IE, but sometimes you can face a problem of finding current row as it may be in second page :-(

2 comments :

  1. Hi Ashish ,
    I am new to ADF.
    We have a requirement from our UA team that the footers of the table in ADF should have format like this:-

    * The tab for 'Next Page' and 'Last Page' should be right aligned.
    * The page numbers should be center aligned (aligned to center of the page).

    Any idea how to achieve this??

    Thanks,
    Ashish

    ReplyDelete