Skip to content

v0.3.9

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

Significant changes

General/Core

  • dgrid now uses Intern for unit and functional tests,
    instead of DOH. See the README for setup instructions.
  • Fixed a regression with OnDemandList which would cause improper rendering
    after scrolling. (#548)
  • Fixed an issue with OnDemandList causing queryRowsOverlap only taking
    effect between the first two queries. (#644)
  • Added the capability to opt out of custom TouchScroll logic on devices that
    support touch, by setting useTouchScroll: false on the instance. (#656)
  • Fixed logic in Grid, GridFromHtml, and selector to allow specifying a
    blank label for a column by passing an empty string to column.label. (#664)

Mixins

  • The Selection mixin now uses MSPointer events where available, which avoids
    issues in cases where something cancels a MSPointer event, preventing relevant
    mouse events from firing (for example, dojo/dnd + dojo/touch in 1.9). (#658)
  • The CellSelection mixin now supports selecting or deselecting all columns
    in a row if a row object is passed.
  • Fixed a regression in the Selection mixin where unselectable rows could still
    be selected via ctrl+click.

Column Plugins

  • Fixed a regression in selector which caused an error when clicking the
    select-all checkbox. (#674)

Extensions

  • Fixed a regression in the Pagination extension where duplicate rows could
    be displayed if several paging/sorting requests are fired in quick succession
    to an asynchronous store. Note that the fix involves canceling old requests,
    which may cause Deferred errors to be logged to the console; this is normal.
    The dgrid-error event will not be emitted for canceled requests. (#635)

Other changes and fixes

General/Core

  • Fixed a potential issue in Grid in non-ES5 environments that augment the
    Array prototype. (#624)
  • Fixed an issue with OnDemandList involving where a new row is inserted in
    the DOM when the relevant result set is currently empty. (#647)
  • Fixed issues involving List and OnDemandList not properly cleaning up
    observers that are no longer needed. (#642, #677)
  • Reworked logic in List#adjustRowIndices to not skip updating row indices
    even when maintainOddEven is false.
  • Fixed an edge case in OnDemandList where it would refuse to load additional
    data if the grid were resized larger while its viewport is scrolled to the top.
    (#361)

Mixins

  • Fixed an issue in the ColumnSet mixin which affected horizontal scrolling at
    certain zoom levels on Chrome.
  • The Selection and CellSelection mixins no longer lose selection of rows
    when items are modified. Rows are still deselected if items are removed.
    (#226)

Column Plugins

  • Fixed issues in the editor column plugin regarding consistency of
    dirty data and dgrid-datachange event firing for always-on radio buttons.
  • Fixed an issue in the editor plugin that caused errors in Chrome/Safari when
    an editor loses focus and hides due to clicking within the browser's UI
    controls. (#603)
  • Fixed an issue in the editor column plugin's cleanup logic which could occur
    when the loading node for a request is removed before the request completes.
    (#195)
  • The editor column plugin will now directly update row data in cases where
    a store is not being used. (#171)

Extensions

  • Fixed an issue with the ColumnReorder extension involving grids whose IDs
    end with a hyphen followed by numbers. (#556)
  • The ColumnResizer extension now properly calls the grid's resize method,
    even on programmatically-triggered resize operations.
  • Fixed a potential issue in the CompoundColumns extension in non-ES5
    environments that augment the Array prototype. (#624)
  • Added localizations for the Pagination extension:
    • German (#657, thanks tryte)
    • Traditional and Simplified Chinese (#671, thanks expando)
    • Thai (#672, thanks dylans)