Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Datatable (2.3.1) - how do I tell what the current page# is?   Message List  
Reply | Forward Message #30903 of 52117 |
Re: [ydn-javascript] Datatable (2.3.1) - how do I tell what the current page# is?

dataTable.get('paginator').getCurrentPage()


----- Original Message -----
From: "j2ee20072007" <j2ee20072007@...>
To: <ydn-javascript@yahoogroups.com>
Sent: Tuesday, May 13, 2008 11:01 PM
Subject: [ydn-javascript] Datatable (2.3.1) - how do I tell what the current
page# is?


> In version 2.2.2 I could do this:
>
> var currentPage=dataTable.getPaginator().currentPage;
>
> How do I do that in version 2.3.1? Thanks
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 269.23.16/1430 - Release Date: 13/05/2008
7:31




Tue May 13, 2008 9:37 pm

satyamutsa
Offline Offline
Send Email Send Email

Forward
Message #30903 of 52117 |
Expand Messages Author Sort by Date

In version 2.2.2 I could do this: var currentPage=dataTable.getPaginator().currentPage; How do I do that in version 2.3.1? Thanks...
j2ee20072007
Offline Send Email
May 13, 2008
9:01 pm

dataTable.get('paginator').getCurrentPage() ... From: "j2ee20072007" <j2ee20072007@...> To: <ydn-javascript@yahoogroups.com> Sent: Tuesday, May 13, 2008...
Satyam
satyamutsa
Offline Send Email
May 13, 2008
9:37 pm

... Thanks; I tried that, but it didn't work... the funny thing is, I'm not getting an error or anything (and I do have script debuging turned on), it just...
j2ee20072007
Offline Send Email
May 14, 2008
1:15 pm

... Well you got me going in the right direction so I looked at the source code and this is what worked for me: myD.get("paginator").currentPage; Thanks...
j2ee20072007
Offline Send Email
May 14, 2008
1:25 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help