You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Kevin Galligan <ma...@kgalligan.com> on 2006/08/17 21:40:22 UTC
resetting datascroller
I have a datatable with a datascroller attached. I have a dropdown that
allows you select different "groups" of data, which auto-subits when
changed, and the table should display the data from that group.
The issue is that lets say "group A" has 2 pages of items, but "group B"
only has one. If I just look at the first page of "group A", then select
"group B", no problem. If I select page #2 of "group A", then select "group
B", the table attempts to show me the page #2 of "group B", which doesn't
exsit.
Any help resetting the datascroller? I've looked around but I'm not really
clear on how it works.
Thanks,
-Kevin
Re: resetting datascroller
Posted by Mike Kienenberger <mk...@gmail.com>.
See http://issues.apache.org/jira/browse/TOMAHAWK-548 for a way to do
this with java code (it's pretty simple).
On 8/17/06, Kevin Galligan <ma...@kgalligan.com> wrote:
> I have a datatable with a datascroller attached. I have a dropdown that
> allows you select different "groups" of data, which auto-subits when
> changed, and the table should display the data from that group.
>
> The issue is that lets say "group A" has 2 pages of items, but "group B"
> only has one. If I just look at the first page of "group A", then select
> "group B", no problem. If I select page #2 of "group A", then select "group
> B", the table attempts to show me the page #2 of "group B", which doesn't
> exsit.
>
> Any help resetting the datascroller? I've looked around but I'm not really
> clear on how it works.
>
> Thanks,
> -Kevin
>