diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-06-27 15:42:01 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-06-27 15:42:01 +0300 |
commit | e4e2328a3a78d652cd09ef8293f233d31d899415 (patch) | |
tree | 26d0b17179952e662ab8559269154715ba10c265 /all | |
parent | 65ac37ae63f65d17731dafdab85f0be53158ae78 (diff) | |
download | vaadin-framework-e4e2328a3a78d652cd09ef8293f233d31d899415.tar.gz vaadin-framework-e4e2328a3a78d652cd09ef8293f233d31d899415.zip |
Add presentation value providers for Grid (#9553)
This patch changes Grid Columns, so they can have different value and presentation types. A presentation provider can be given when setting the renderer for a column. This provider takes the value of the column on a row and chooses what to present for this value. Using this approach it is easier to have an editor for the actual backing data instead of the presentation of it.
Fixes #8656
Resolves #9588
Diffstat (limited to 'all')
-rw-r--r-- | all/src/main/templates/release-notes.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/all/src/main/templates/release-notes.html b/all/src/main/templates/release-notes.html index 0652dbd58a..46891fe8b2 100644 --- a/all/src/main/templates/release-notes.html +++ b/all/src/main/templates/release-notes.html @@ -108,6 +108,8 @@ <li>Tooltip styles for <tt>ContentMode.PREFORMATTED</tt> have been changed in all built-in themes to use the application font and allow long lines to wrap to multiple lines.</li> <li><tt>Grid.Column</tt> now extends <tt>AbstractExtension</tt> instead of <tt>AbstractGridExtension</tt> to hide data generator specific API.</li> <li><tt>DataCommunicator</tt>, <tt>DataKeyMapper</tt> and <tt>KeyMapper</tt> public APIs have some minor changes for better bean identification.</li> + <li><tt>Grid.createColumn</tt> now has one more parameter <tt>presentationProvider</tt>.</li> + <h2>For incompatible or behaviour-altering changes in 8.0, please see <a href="https://vaadin.com/download/release/8.0/8.0.0/release-notes.html#incompatible">8.0 release notes</a></h2> |