Skip to content

v0.3.14

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

Significant changes

General/Core

  • Added a List#addUiClasses property which can be set to false on any
    instance to prevent it from adding ui- classes to various elements, which
    can help when using disparate jQuery UI and dgrid themes/skins on the same page.
    The option defaults to true for consistency with previous versions.
    Note that some selectors in various dgrid skins have been updated to not use
    ui- classes, to prevent undesired overriding of jQuery UI themes. (#873)
  • Added styles for a dgrid-autoheight class, which can be added to any list/grid
    via the className property to make the grid automatically size based on its
    contents.
  • Fixed an issue where List#destroy would throw an error if useTouchScroll is
    set to false on a device with touch support. (#867)
  • Fixed a regression in List which would cause observed modifications to tree
    children to throw errors. (#862)
  • Fixed a regression in OnDemandList where items added to an empty list or
    grid would be inserted in the wrong position. (#840)
  • Fixed ordering of inserted preload nodes in the linked list in OnDemandList,
    particularly affecting tree. (#817)
  • List#useTouchScroll now defaults to false on platforms which render tangible
    scrollbars (namely, desktop browsers on touch-enabled devices such as the Surface).
  • Fixed feature detection in util/has-css3 to be more accurate and avoid causing
    errors in some situations. (#775)

Mixins

  • Fixed a regression in the Keyboard mixin which would cause errors when
    attempting to re-focus an updated row/cell when it (or the entire grid) is
    currently hidden. (#866)
  • The Selection mixin will now listen for both touch and mouse events, rather
    than one or the other exclusively. (#757)
  • The touch event(s) that Selection listens for can now be overridden via the
    selectionTouchEvents property. (#846)

Extensions

  • Fixed a regression in CompoundColumns involving the ability to look up
    columns by their originally-specified IDs. (#820)
  • The CompoundColumns extension is now capable of interoperating with the
    ColumnHider and ColumnResizer extensions; note that it must be mixed in
    after these extensions in order to work properly. (#834)
  • The ColumnHider and Pagination extensions now include Romanian localization
    bundles. (#850, thanks websoftix)

Other changes and fixes

General/Core

  • Fixed an RTL issue that caused the column headers to misalign with the body
    on Chrome.

Mixins

  • Fixed issues in the Selection and CellSelection mixins when the row
    representing the starting point of a ranged selection is replaced (due to an
    observed store modification) prior to the end point being selected. (#858)
  • The ColumnSet mixin no longer excludes touch devices when registering
    wheel listener logic (for combination mouse+touch devices).

Column Plugins

  • Fixed an issue in editor where the wrong column would be referenced from
    the change event handler for native inputs, particularly affecting radio
    buttons. (#876)

Extensions

  • Added logic to ColumnHider to skip hidden columns when calling left and
    right (which affects e.g. Keyboard navigation).
  • Improved performance of first resize with ColumnResizer. (#832)
  • Fixed errors in the DnD extension when using a mouse on a mouse+touch device.
  • The Pagination extension will no longer cancel an ongoing async request if
    another call is performed with the same request promise. (#847, thanks jandppw)