Skip to content

Releases: vaadin/vaadin-grid

1.0.0-rc1 – vaadin-grid Release Candidate 1

07 Dec 13:44
Compare
Choose a tag to compare

No changes from 1.0.0-beta1

1.0.0-beta1 — Header API changes, Size property added, Custom Styling

03 Dec 11:52
Compare
Choose a tag to compare

Change log

  • Issues closed in this milestone.
  • Custom styling for default primary color and row heights (#240)
  • header-textattribute 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 to refreshItems() (size parameter removed) (#265)

0.9.0-beta5 — API changes to `datasource`, `rows`, `visibleColumns` and events

12 Nov 08:46
Compare
Choose a tag to compare

Change log

  • Issues closed in this milestone.
  • grid.datasource property is removed. Assign a function to grid.items instead.
  • grid.rows property is renamed to grid.visibleRows.
  • rows attribute is renamed to visible-rows.
  • grid.visibleColumns property is removed. Instead, loop the grid.columns array and check the hidden property of the column objects.
  • select event renamed to selected-items-changed
  • selectionmodechange event renamed to selection-mode-changed
  • Function data source signature changed from (req) to (params, callback) where req.success is now callback argument.
  • See CHANGES.md for a more verbose list of changes.

0.9.0-beta4 — Rename 'vaadin-components' to 'vaadin-elements'

20 Oct 11:13
Compare
Choose a tag to compare

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

0.9.0-beta3 — Remove ‘data’ namespace

09 Oct 17:14
Compare
Choose a tag to compare

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

Vaadin Grid v0.9.0-beta1

11 Sep 10:50
Compare
Choose a tag to compare
Pre-release
Update Change log