Skip to Main Content

Java Programming

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!

Yahoo widget "DataTable" pagination issue

820002Nov 30 2010 — edited Nov 30 2010
Hi Guys,
I have an issue with yahoo widget pagination. I have a result set feeding to YUI "DataTable". The result set contains 10 pages since i limited my results per page to 10. When I edit one of the records, I navigate to a difference screen. When I exit from that screen, I navigate back to the result set. Here is the problem. I am always coming to the first page(since i mentioned it to be the first row). I need to navigate back to the page (which i edited before). So, How do i capture the result set page number?
The back & forth navigation comes as part of API. Are there any methods to store/capture this value & store it in request/session & read it back? My widget creation syntax is shown below.


*var defaultDataTable = new YAHOO.widget.DataTable("standardselect",myColumnSet,myDataSource,{paginator:'true',rowsPerPage:10});*

defaultDataTable.subscribe("cellClickEvent",defaultDataTable.onEventSelectRow);

defaultDataTable.select(defaultDataTable.getRow(0));


Thanks in advance...

Edited by: 816999 on Nov 30, 2010 1:06 PM

Edited by: 816999 on Nov 30, 2010 1:18 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2010
Added on Nov 30 2010
0 comments
117 views