diff --git a/vaadin-grid-data-provider-behavior.html b/vaadin-grid-data-provider-behavior.html index 26800f8c9..c620bd3c6 100644 --- a/vaadin-grid-data-provider-behavior.html +++ b/vaadin-grid-data-provider-behavior.html @@ -86,6 +86,7 @@ * */ dataProvider: { + type: Object, notify: true, observer: '_dataProviderChanged' }, @@ -96,12 +97,14 @@ _loading: Boolean, _cache: { + type: Object, value: function() { return {}; } }, _pendingRequests: { + type: Object, value: function() { return {}; } diff --git a/vaadin-grid-filter-behavior.html b/vaadin-grid-filter-behavior.html index 71a8cf723..8c1cca2ac 100644 --- a/vaadin-grid-filter-behavior.html +++ b/vaadin-grid-filter-behavior.html @@ -10,6 +10,7 @@ properties: { _filters: { + type: Array, value: function() { return []; } diff --git a/vaadin-grid-row-details-behavior.html b/vaadin-grid-row-details-behavior.html index 967d1c6af..dba37b5da 100644 --- a/vaadin-grid-row-details-behavior.html +++ b/vaadin-grid-row-details-behavior.html @@ -40,6 +40,7 @@ * An array containing references to expanded items. */ expandedItems: { + type: Array, value: function() { return []; } diff --git a/vaadin-grid-table-outer-scroller.html b/vaadin-grid-table-outer-scroller.html index 546675913..fd08aba9a 100644 --- a/vaadin-grid-table-outer-scroller.html +++ b/vaadin-grid-table-outer-scroller.html @@ -35,10 +35,12 @@ properties: { scrollTarget: { + type: Object, observer: '_scrollTargetChanged' }, passthrough: { + type: Boolean, reflectToAttribute: true, value: true } diff --git a/vaadin-grid-table-scroll-behavior.html b/vaadin-grid-table-scroll-behavior.html index 882b1558a..866c696b8 100644 --- a/vaadin-grid-table-scroll-behavior.html +++ b/vaadin-grid-table-scroll-behavior.html @@ -73,10 +73,12 @@ properties: { _vidxOffset: { + type: Number, value: 0 }, ios: { + type: Boolean, value: navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/), reflectToAttribute: true }, diff --git a/vaadin-grid-table.html b/vaadin-grid-table.html index 7c921cba0..f724291c1 100644 --- a/vaadin-grid-table.html +++ b/vaadin-grid-table.html @@ -349,10 +349,12 @@ }, safari: { + type: Boolean, value: /^((?!chrome|android).)*safari/i.test(navigator.userAgent) }, scrollbarWidth: { + type: Number, value: function() { // Create the measurement node var scrollDiv = document.createElement('div'); diff --git a/vaadin-grid.html b/vaadin-grid.html index fbb89c0e4..c2c960f47 100644 --- a/vaadin-grid.html +++ b/vaadin-grid.html @@ -260,6 +260,7 @@ _rowDetailsTemplate: Object, _bindData: { + type: Object, value: function() { return this._getItem.bind(this); }