diff options
author | John Ahlroos <john@vaadin.com> | 2014-06-24 16:19:08 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2014-06-24 16:19:08 +0300 |
commit | 7a518fa8a1431789b30b53feded52ea1dac35c9e (patch) | |
tree | 87a0e72bc9ee757e5c7f03862dae608986760453 /shared | |
parent | 254a9e2c962e921bdb6217e49cd898a8a2a50bc8 (diff) | |
download | vaadin-framework-7a518fa8a1431789b30b53feded52ea1dac35c9e.tar.gz vaadin-framework-7a518fa8a1431789b30b53feded52ea1dac35c9e.zip |
Prevent triggering render() on columns without a grid instance. #13334
Previously a Renderer.render() has been implicitly triggered by
ColumnConfiguration.insertColumns() when adding columns with Grid.addColumn()
before the GridColumn got its grid instance. This led to the Renderer
needing to do null checks for the grid instance.
By assigning the grid instance to the column before the column is
inserted in the escalator fixes this issue.
Change-Id: I8ef636b9615585c0451a82926d94b0c8efa64402
Diffstat (limited to 'shared')
0 files changed, 0 insertions, 0 deletions