Directory

← Back

PMTable

Table and TreeTable implementation with partial updates

Author

Contributors

Rating

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
Online