Directory

← Back

PMTable

Table and TreeTable implementation with partial updates

Author

Rating

Popularity

<100

The source code is based on the source for the Table and TreeTable components in the Vaadin Framework. Unlike the original Table this implementation does not have a page size. First it sends the whole table and later, if possible, only updates for changed, inserted or removed rows. Hence the name PMTable for "partial modification table" Not all features are kept from the original (e.g. Animation in TreeTable) and some features are not yet tested (e.g. generated rows). This implementation does not care about row height. So you can use rows with variable row height. On the other hand you can not yet scroll to a specific row (but by pixel). If you plan to use your own container, implement PMTable.PMTableItemSetChangeEvent or the whole table will be sent to the client on each change.

When could PMTable be used:

For a small table
You want to fluently scroll the whole table.
The table changes a lot.
The table has variable row height

You shouldn't use PMTable with large tables.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Added possibility to scroll to an element

Released
2017-01-19
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.6+
Vaadin 7.3+ in 1.8
Vaadin 7.0+ in 1.4
Browser
Internet Explorer
Firefox
Opera
Google Chrome
Internet Explorer
Internet Explorer

PMTable - Vaadin Add-on Directory

Table and TreeTable implementation with partial updates PMTable - Vaadin Add-on Directory
The source code is based on the source for the Table and TreeTable components in the Vaadin Framework. Unlike the original Table this implementation does not have a page size. First it sends the whole table and later, if possible, only updates for changed, inserted or removed rows. Hence the name PMTable for "partial modification table" Not all features are kept from the original (e.g. Animation in TreeTable) and some features are not yet tested (e.g. generated rows). This implementation does not care about row height. So you can use rows with variable row height. On the other hand you can not yet scroll to a specific row (but by pixel). If you plan to use your own container, implement PMTable.PMTableItemSetChangeEvent or the whole table will be sent to the client on each change. When could PMTable be used: For a small table You want to fluently scroll the whole table. The table changes a lot. The table has variable row height You shouldn't use PMTable with large tables.
Issue Tracker
Source Code

PMTable version 1.0
initial upload

PMTable version 1.1
Fixing a Problem with automatic width of columns

PMTable version 1.2
Adopted some changes from vaadin table 7.1.7 and fixed a problem when reattaching

PMTable version 1.3
minor bugfix

PMTable version 1.4
minor fix

PMTable version 1.5
Adopted some changes from vaadin Table and TreeTable

PMTable version 1.6
fixed small bug when removing and inserting rows at the same time

PMTable version 1.7
- adoptin changes from vaadin table and treetable - better behaviour when updating a row (scroll position)

PMTable version 1.8
fixed problem with row style generator when inserting new rows

PMTable version 1.9
- Vaadin 7.6 - Adopted changes from original vaadin table.

PMTable version 1.9.1
fixed small problems with selection

PMTable version 1.10.0
Added possibility to scroll to an element

Online