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!

Programmatically Navigating to next page : Pagination enabled on af:table

Sanjeeb MAug 21 2013 — edited Aug 30 2013

Hi,

I have a got a requirement like i need to navigate to the page where my selected record is.

Jdev Version 11.1.1.7

I have af:table with pagination enabled displaying 10 rows per page(range size 10) and a Employee Name field on top of the table with a button to search.

My use case is if type a Employee Name and do a search i should select that particular row which matches the Employee Name. Everything works fine if the record exist in the first page, but if that Employee Name is there in 2nd page or Nth page then i need to traverse to that page highlighting that record.

I tried various ways to navigate to that page but was not able to achieve.

vo.scrollToRangePage(pageNum)

vo.scrollRangeTo(currentRow, pageNum)

Can someone please throw some light on how to navigate to any pageNum programmatically.

Thanks in adavance.

Sanjeeb

This post has been answered by Sanjeeb M on Aug 30 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2013
Added on Aug 21 2013
4 comments
1,457 views