Editor theme is now more flexible with regards to CSS. There are now
separate elements for containing the edited cells and the “footer”
which contains an optional message area and the save and cancel buttons.
Change-Id: I9addcb6adca792a9251ffada99fbe9b77502c77a
Grid columns can now be marked as non-editable (#16538)
Non-editable columns are not assigned editor fields. When the editor is active,
any non-editable content is not displayed (this should changein the future).
This is separate from setting the property or editor field read-only - in those
cases the field is still used to display the data which may not be desired and
will fail if there is no converter.
Also add Column.setEditorField(Field<?>) and the corresponding getter.
Change-Id: Ice17c357895cb63a8e1bfd6abaffc1d803399e98
Grid.onStateChange is now about 40% faster when adding columns,
and setting several column widths has now way less overhead.
Change-Id: I7bd900324207bfb2543a1a90390665b90206aefd
This change makes it easier to create custom data sources. The
implementations in provided implementations are retained as a
convenience.
Change-Id: If34bfb378eec75a37f28af78e512210ed9d7c304
After this patch navigation with PageDown, PageUp, Home, End works
properly. What was
changed in this patch (new state): the first visible row number is
updated before
sending selected rows to the server while handling these keys.
Change-Id: I3bdebc434f886ef55f90f3fed5fd607d5f65f87f
Fixes exception when scrolled down and removing header/footer row (#15411)
This is somewhat bad patch for something that should be done with a some kind
of lazy/finally functionality, where these kinds of operations are made JIT,
instead of eagerly whenever called.
Change-Id: I9121c3715e9eeccff0f768c7b0f0904ee9cdc3a5
Notification should be closed after delay (#14689).
onEventPreview() method is deprecated and it's called now only for the
very first handler. We need it to work for any handler. So old
onEventPreview() method is explicitly called with updated logic for the
onPreviewNativeEvent().
Change-Id: I11d98ef0bbd284b74bbccb4f6ac2ab26de73f209
If the server-side set the height mode as row on init, the height
was miscalculated. This happened on the client side in some
special situations.
Also changes one offsetHeight to bounding box height.
Change-Id: I76df7e6b4af181b2a578a33bedf620fa3b9bd8ad
Table: column not expanding after setColumnExpandRatio (#15101)
Partial fix for setting/unsetting expand ratios of existing table.
Result of this patch:
1) when switching off column expand ratio, natural column width is
restored.
2) changes in method run() for the same (though incorrect) treatment of
expand ratio as in sizeInit()
Change-Id: I2119eb1041e205a54373ac40a9ce8fdd14d70ad8