Skip to content

v0.3.12

Compare
Choose a tag to compare
@kfranqueiro kfranqueiro released this 30 May 11:15
· 684 commits to master since this release

Significant changes

General/Core

  • Fixed a regression in Grid since 0.3.7 where formatters were run in the
    global context by default instead of in the context of the column definition.
    (#748, thanks mbretter)
  • The className column definition property now supports being assigned a
    function value, in which case the function will be called for each row in the
    grid (including the header). For rows in the body, the associated data object
    (e.g. store item) will be passed, but for the header row, nothing will be
    passed, so this will need to be handled in the function's logic.

Mixins

  • Selection and CellSelection now fire dgrid-select and dgrid-deselect
    events on the same turn that select is called. The events still include
    rows or cells containing all rows or cells selected at once; only the
    timing of the events firing has changed.
  • Fixed an issue in Selection code flow which caused devices supporting
    MSPointer to behave incorrectly with recent versions of Dojo.

Extensions

  • Fixed a regression in Pagination where rowsPerPage (and thus also
    queryOptions.count) would be set to a string rather than a number when the
    page size drop-down is used. (#752)

Other changes and fixes

Mixins

  • The Keyboard mixin now properly adds/removes header navigation when
    set("showHeader", ...) is called. (#734)

Column Plugins

  • Added logic to editor to preserve editor focus when a row is updated
    (particularly useful with always-on editors with autoSave enabled). (#579)
  • Removed a mousedown event handler from editor which was interfering with
    certain widget features such as TextBox#selectOnClick; this event handler
    should no longer be necessary. (#704)

Extensions

  • The ColumnHider extension's menu trigger node no longer reopens the menu if
    the menu is already open; it will close it just like clicking anywhere else
    outside the menu. (#755)