Releases: vaadin/vaadin-grid
1.0.0-rc1 – vaadin-grid Release Candidate 1
No changes from 1.0.0-beta1
1.0.0-beta1 — Header API changes, Size property added, Custom Styling
Change log
- Issues closed in this milestone.
- Custom styling for default primary color and row heights (#240)
header-text
attribute removed from<col>
element,<thead>
is the only way to customize the column headers declaratively (#232)grid.columns[...].headerContent
was removed. Instead,header.getCell(...).content
API can be used to access the default header row cell content (#232)- Grid exposes
size
property; removing the necessity to pass size for every data request callback (#265) clearCache()
renamed torefreshItems()
(size parameter removed) (#265)
0.9.0-beta5 — API changes to `datasource`, `rows`, `visibleColumns` and events
Change log
- Issues closed in this milestone.
grid.datasource
property is removed. Assign a function togrid.items
instead.grid.rows
property is renamed togrid.visibleRows
.rows
attribute is renamed tovisible-rows
.grid.visibleColumns
property is removed. Instead, loop thegrid.columns
array and check thehidden
property of the column objects.select
event renamed toselected-items-changed
selectionmodechange
event renamed toselection-mode-changed
- Function data source signature changed from
(req)
to(params, callback)
wherereq.success
is nowcallback
argument. - See CHANGES.md for a more verbose list of changes.
0.9.0-beta4 — Rename 'vaadin-components' to 'vaadin-elements'
The vaadin-components
project was renamed to vaadin-elements
to align better with Polymer's Paper Elements etc. You can find the announcement here.
Change log
- Issues closed in this milestone
- See CHANGES.md for a more verbose list of changes
0.9.0-beta3 — Remove ‘data’ namespace
The data
property namespace was removed, and all the properties under that namespace were moved directly under the main grid object (#160).
The data.source
property was also split into two separate properties: one for array and one for function data sources. This allows Polymer (and other framework) data bindings to work with these properties, and also follows a similar API as iron-list
and dom-repeat
elements.
See updated examples at https://cdn.vaadin.com/vaadin-components/0.3.0-beta10/vaadin-grid/demo/
API changes
Data object namespace
Data object namespace is removed:
data.source (array) -> items
data.source (function) -> datasource
data.sortOrder -> sortOrder
data.clearCache() -> clearCache()
data.getItem() -> getItem()
Sorting event
The event name emitted when the user sorts a column is changed:
sort -> sort-order-changed
Change log
- Issues closed in this milestone
- See CHANGES.md for a more verbose list of changes
Vaadin Grid v0.9.0-beta1
Update Change log