Comments (4)
The createControls() is just a default to get you started. All the methods are public to create your own similar controls in exactly the way that you require. You should do that instead of using the predefined version when you need more customization power.
from pagedtable.
Can you please name those methods?
I can't find any method to just show next page previous page , last & first page in the controls bar.
I am using Vaadin 6.8
Thanks,
Deepali
from pagedtable.
These methods are available via the PagedTable
object, not the createControls
returned object.
previousPage()
:- Self explanatory
nextPage()
:- Self explanatory
setCurrentPage(pageNumber)
:- pageNumber
could be any integer value from 0 - t
where t
is the total number of pages. use getTotalAmountOfPages()
to get the value of t
. So to view the first page, call setCurrentPage(0)
, and to view the last page, call setCurrentPage(t)
.
Please make the effort to go through the source code. It's pretty clear.
Hope that can help you.
from pagedtable.
Thanks.
I found it.
I have another issue now.
First time when table gets populated it shows 3 pages.
When I click on next page it goes to 2nd page and total number of pages count is changed to 4 from 3
Why so?
The table is repeating the data in next pages.
Please help.
from pagedtable.
Related Issues (19)
- Test out how PagedTable works on Internet Explorer. HOT 1
- Container filter does not work
- Table returns wrong pageLenght() when click next page HOT 2
- Error occured when input non-numeric character like 'a' in the page TextField
- setPageLength() is overriden by input field default value HOT 4
- Paged Table throws Exception "A connector should not be marked as dirty while a response is being written."
- Validator in currentPageTextField v0.6.5
- PageTable with scroller shows wrong rows HOT 1
- IE8: Table scrolls automatically when selecting items and table length is bigger than window
- Resized table has wrong pageLength
- Filterable PagedTable
- PagedtableExample should not be included in the Add-on HOT 1
- IE8: Table row count sometimes wrong.
- Support setHeight()
- Add i18n support HOT 1
- interface PageChangeListener package-visible HOT 3
- PagedTable Dymanic Row Insert
- Items per page drop down click shows multiple vetical bars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagedtable.