-
1. Re: DataScroller and paging
madhukarhere Sep 2, 2011 6:38 AM (in response to madhukarhere)i have found a work around for this but still need help.
I have used the (Page number , max page size , getRowCount() to render ---> 20-30 of 100
and used
<h:graphicImage value="/Right.PNG" onclick="#{rich:component('ds')}.next() " /> for <previous next> button
out side the datascroller and made the data scroller Hidden.
is there a direct way of customizing the control and how to disable the next and previous button out side the datascroller at last and first page?
-
2. Re: DataScroller and paging
mp911de Sep 3, 2011 3:56 PM (in response to madhukarhere)1 of 1 people found this helpfulHi Mani,
take a look at http://livedemo.exadel.com/richfaces-demo/richfaces/dataTableScroller.jsf?tab=scrollerfacets&cid=861449
Best regards,
Mark
-
3. Re: DataScroller and paging
madhukarhere Sep 5, 2011 12:21 AM (in response to mp911de)Thanks Mark,but currently i am using richfaces 4 and <f:facet name="pages"> is not working in it ...
-
4. Re: DataScroller and paging
ilya_shaikovsky Sep 5, 2011 2:00 PM (in response to madhukarhere)1 of 1 people found this helpfulYou could create your own presentation for dataScroller, make datascroller itself hidden and control the table by calling its api like we created arrows there: http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=dataScroller&sample=dataScrollerAPI&skin=blueSky
I realize that it's not the best and simples way to do it.. But unfortunatelly I do not see other options while "pages" not available.
-
5. Re: DataScroller and paging
madhukarhere Sep 8, 2011 12:36 AM (in response to ilya_shaikovsky)Thanks,Ilya Shaikovsky
I have create the same way, is there a workaround for 20-30 of 100 or API function to do this?