Skip to content

Latest commit

 

History

History
1973 lines (1209 loc) · 121 KB

CHANGELOG.md

File metadata and controls

1973 lines (1209 loc) · 121 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.12.7 (2024-04-12)

Bug Fixes

  • core: remove upper limit for AngularJs (5517031)

4.12.6 (2024-04-12)

Bug Fixes

  • cellnav: remove unused inputs (9f0ddb2)

4.12.5 (2024-04-11)

Bug Fixes

  • core: make scrollToIfNecessary bottom scroll work with bottom pixel of the row. (c8405a7)

4.12.4 (2023-08-17)

Bug Fixes

  • 🐛 update the index accordingly when modifying existing rows (945d4f8)

4.12.3 (2023-08-01)

Bug Fixes

  • 🐛 added unit testing for lastRowCol in cellNav and loadData (3061ab2)
  • 🐛 don't call needLoadMoreData on last row with cellNav (5200747)

4.12.2 (2023-01-23)

Bug Fixes

  • core: support custom interpolation symbols on defaultColumnBuilder (7630fd3), closes #6963

4.12.1 (2023-01-19)

Bug Fixes

  • core: ensure ui-grid loads on site (b215403), closes #7277

4.12.0 (2023-01-12)

Bug Fixes

  • pinning: blank space between pinnedRight column and the last unpinned column (7687192), closes #4949 #6284

Features

  • exporter: add export type in format method (#7223) (4c36808)
  • 🎸 option to disable GridMenu close on scrolling (6d3f006)

4.11.1 (2022-02-23)

Bug Fixes

  • clear selection function (f616137)
  • Find or Select by Row Entity's 'ID' (7a0a6c6)
  • exchanged filter() with every() (583940f)
  • i18n: complete ru locale (8d2caee)
  • resize-columns: width gets adjusted so that ellipses aren't shown (7851ff8)

4.11.0 (2021-08-12)

Bug Fixes

  • 🐛 ensure viewport height cannot be negative (a7111a1), closes #3034

Features

  • 🎸 option to disable multi-column sorting (c9abb8b), closes #2913
  • 🎸 the ability to disable hide columns on a grid level (2dd1688), closes #1604

4.10.3 (2021-08-01)

Bug Fixes

  • 🐛 address linting issues and unit test failures (a9cf59f)
  • export filter with time part ('date:"MM-dd-YYYY HH:mm'). (29d4803)
  • error when entering *+ combination in the column filter (1201ad2)
  • Missing german translation for selection and validate (3ff57e0)
  • canvas now has a minimum height of 1px, which renders it even if it has no data (07c26d5)
  • adjustColumns now calculates the colIndex instead of guessing it scrollpercentage (ed76f02)

4.10.2 (2021-06-14)

Bug Fixes

  • 🐛 add missing translations for es, fr, it and pt (051b182)
  • 🐛 improve accessibility in the grid menus and selection (e5ae7c0)
  • core: use allowFloatWidth property to allow float calculations for width (bb28b2f)
  • core: use allowFloatWidth property to allow float calculations for width (f4d3e22)

4.10.1 (2021-05-28)

Bug Fixes

  • 🐛 ensure select all checkbox is announced correctly (3b478fa)
  • 🐛 remove extra $applyAsync from header-cell (f9a84ff)
  • clearSelectedRows should respect enableSelection (fcad35c)

4.10.0 (2021-02-01)

Bug Fixes

  • tree-base: grouping showing duplicate rows (685d3c7)
  • tree-base: if parent exists in cache (cf7a5bc)

Features

  • 🎸 add 'aria-expanded' to expand buttons for accessibility (2677f67)

Reverts

  • Revert "chore: update changelog" and "chore: Release v4.9.2" (3a4a27f)

4.9.1 (2020-10-26)

Bug Fixes

  • core: update rtl support function to fix rtl support (75580b8), closes #7126
  • exporter: pass both tree parent nodes and children nodes when exporting (3a5ac8a), closes #7127 #6819

4.9.0 (2020-09-27)

Bug Fixes

  • edit: fixing firefox number edit (b58f78d), closes #6953
  • core: replace missing string with empty string (f7d48ee), closes #7063

Reverts

  • Revert "Revert "Update ui-grid-column-resizer.js"" (fe09d9b)
  • Revert "Update ui-grid-column-resizer.js" (88191a0)

BREAKING CHANGES

  • MISSING string will no longer be displayed.

4.8.5 (2020-09-14)

Bug Fixes

  • all: Add support for angular 1.8.0

4.8.4 (2020-09-14)

Bug Fixes

  • core: update remove method as it was throwing error.. (#7060) (9f58abd)
  • grouping: adds aggregationLabel to aggregateColumn call to match (60fcedc)

4.8.3 (2019-10-21)

Bug Fixes

  • a11y: keyboard navigation changes of expand and selection buttons (#7048) (9854f69)
  • exporter: remove extra double quotes in excel export (29c4fb1)

4.8.2 (2019-10-07)

Bug Fixes

  • core: scrollToIfNecessary not properly including rowHeight on downward scrolls (7a0e1dc)
  • scrolling: column footers misaligned with data #6909 (74f9107)
  • change Safari support to 12 - 13 (6b0f21a)

4.8.1 (2019-06-27)

Bug Fixes

  • core: change translation in in i18n nl.js for clearAllFilters (06c3d36)
  • core: support jQlite (78e44f9)
  • handle rejection on timeout to avoid angularjs error message about possibly unhandled rejection (635410c)
  • i18n: improve Swedish translations (2d3abfa)
  • i18n: translate clearAllFilters correctly in Swedish (0fad621)
  • ui-grid: #6937 fix linter error (13bb9c0)
  • ui-grid: #6937 getScrollBarWidth for Firefox (6aee591)

4.8.0 (2019-05-02)

Bug Fixes

  • exporter: remove unnecessary dependencies (c354e27)
  • i18n: add ru excel export values + fix clearAllFilters typo (83b2aa1), closes #6841
  • less: improve less compilation (2ab139e)
  • ui-grid-site: upgrade bootstrap to version 3.4.1 (a125627)

Features

  • filterChanged: pass the changed column as first argument to filterChanged function (13eacc3), closes #4775

4.7.1 (2019-02-06)

Bug Fixes

  • selection: fix row.setSelected is not a function issue (eb98748)
  • ui-grid.js: prevent build from duplicating files during concat (eb98748)

4.7.0 (2019-02-01)

Bug Fixes

  • exporter: add missing dependencies (a86eb0e)
  • grouping.js: fix typo in description (4597c69)
  • less: update less file references (47c1239)
  • selection: prevent cell to be selected when user scroll (a537f0c)
  • selection: take in care about time touched properly (0dbdafe)
  • uiGridColumMenu: Add missing promise catch handlers for focus.bySelector calls (de57fdc)
  • uiGridColumMenu: Check column visibility before trying to focus it in the menu-hidden callback (3a8e87b)
  • uiGridColumMenu: Check for menu item visibility before trying to focus the first visible menu item (3085417)

Features

  • css: add feature based CSS files (9e1c042)
  • filter: add filterContainer option to allow a column filter to be placed in column menu (bdb832a), closes #3989

BREAKING CHANGES

  • less: feature less files have been moved to the root of the less folder.

4.6.5 (2018-11-16)

Bug Fixes

  • customizer: fix customizer (ee5f27d), closes #6834
  • rowSorter.js: wrap rowSortFn while innards in function to prevent issue with webpack compress. (21fa2af)
  • sort: add an extra check for sort data (045b77c)

Features

  • sv.js: Added missing Swedish translations (6dfbad3)

4.6.4 (2018-10-30)

Bug Fixes

  • exporter: Allow csv export for object field type (#6870) (24d4224)
  • grouping: respect customTreeAggregationFn on grouped columns (#6868) (e2a7310), closes #6402
  • treeBase: allow setting row.$$treeLevel to undefined (#6867) (3057b46), closes #5548

4.6.3 (2018-08-04)

Bug Fixes

4.6.2 (2018-07-09)

Performance Improvements

  • ui-grid.core: Remove unnecessary code. (cfec75c)

4.6.1 (2018-07-05)

Bug Fixes

  • exporter: Handle filters with 3 arguments (3207b29), closes #6784
  • exporter: exporterExcelCustomFormatter should return the unmodified docDefinition (7fc39ad), closes #6774 #6774
  • i18n: Fix Japanese translation. (#6781) (9ab0a4c)
  • selection: Fix multiSelect + modifierKeysToMultiSelect (2bc8c7b), closes #6793 #6791
  • selection: Remove focus rows styles. (a8480a2), closes #6782
  • validate: missing getErrorMessages method (588c868)

Documentation

  • ui-grid.info: Clean up API documentation. (a535bea)
  • ui-grid.info: Added missing documentation. (71c3db8)

4.6.0 (2018-06-21)

Bug Fixes

  • gridContainer: Revert body container id to previous. (981e9e2), closes #6096
  • selection: Selected row style only applied to left container (ab31e0b)
  • uiGridHeaderCell: Remove unncessary space (5ea8e54)

Documentation

  • scrollThreshold: Add missing documentation details. (cc0fdb7)

Features

  • es-ct: Add catalan translations. (f482800), closes #5536
  • rs-lat: Added Serbian translations. (da57ad1)
  • i18n: Add fallback lang support (0e47f10), closes #6396

BREAKING CHANGES

  • horizontalScrollThreshold: Removed horizontalScrollThreshold as it is not being used by the grid.
  • i18n: getSafeText() will now return [MISSING] + the path to the missing property or the fallback value if the property is available on the fallback language.

4.5.1 (2018-06-18)

Bug Fixes

  • fonts: Add missing fonts folder to release (544a483), closes #6759

4.5.0 (2018-06-15)

Bug Fixes

  • fonts: Change font files path. (1bd060c), closes #3751
  • i18n: Add missing Danish pinning translations #6731 (c14def4)
  • i18n: Add missing sk translations. (2d6907f)
  • selection, expandable: Add pointer cursor css (faf332e)
  • ui-grid-menu-button.js: Click on the menu button item checkbox … (#6738) (c0d27d1)
  • ui-grid.core: Address resizing issues. (767e022)

Features

  • expandable: Enhance the expandable grid feature. (ec13255)
  • selection: Enhance the selection feature (2485652)

BREAKING CHANGES

  • fonts: If you take the new CSS and do not relocate the icon files, your icons will likely cease to show in the grid.

4.4.11 (2018-05-16)

Features

  • angular.js: Support Angular 1.7. (8c6cb51)

Bug Fixes

  • ui-grid-util.js: Replace angular.uppercase with toUpperCase. (82033e0), closes #6729

4.4.10 (2018-05-15)

Bug Fixes

  • ui-grid-menu-button.js: Change "Columns:" item to a heading. (85ad462)
  • ui-grid-util.js: Replace angular.uppercase and .lowercase with String.toUpperCase and .toLowerC (a41677a), closes #6715

4.4.9 (2018-04-30)

Bug Fixes

  • exporter.js: Eliminate selection column. Add export scale factor for excel and fonts (d96f43d)
  • cellnav.js: Do not trigger edit on undefined event. (615fe49)
  • Grid.js: Use scrollbarHeight instead of scrollbarWidth for vertical scroll calculations. (1b01490), closes #6653
  • selection.js:
    • Allow group header selection. (9718d8b), closes #6698
    • Check if column is row header before disabling selection. (dff19a7), closes #5239
    • getSelectedRows will work on primitive data types. (39a5439), closes #6704
    • Raise rowSelectionChangedBatch after toggling selectAll flag. (bff5bb2), closes #5411
  • tree-base.js:
    • Allow treeIndent to be 0. (68be14e)
    • Call updateRowHeaderWidth even when no data exists. (49678eb), closes #5430

Features

  • ui-i18n.js: Allow replacing/customizing specific existing locale strings when using add. (d6d820f)

v4.4.7 (2018-04-20)

Bug Fixes

  • exporter.js:
    • Eliminate selection column. Add export scale factor for excel and fonts (bc50dfb0)
    • Fix to handle filter args and spaces after filter name (#6681) (7c2c002b)
    • Fix export when selection col is hidden. (#6676) (b971f417)
  • Grid.js: ScrollIfNecessary does not account for scrollWidth correctly (16826bf1)
  • i18n: Add missing portuguese translations. (25fdb473)
  • uiGridRenderContainer.html: Prevent duplicate ids in the grid for ADA compliance. (ecf07c6f)

v4.4.6 (2018-04-06)

Bug Fixes

  • Grid.js: ScrollIfNecessary will not scroll if percentage has not changed. (7ed11ecb)
  • exporter.js: Exporter will respect headerCellFilter and cellFilter. (4c632391)
  • footer.less: Footer column width now matches header column width. (3134f77b)
  • ui-grid-menu-button.js: Replace show/hide buttons with a single toggle button. (a6a26d99)
  • ui-grid-menu.js: Give bySelector correct parent. (1972dcc2)
  • ui-grid.js: gridOptions.data string value now works again. (c62b986d)

v4.4.5 (2018-03-31)

Bug Fixes

  • Grid.js: scrollToIfNecessary can scroll to last row. (87c9eed3)
  • expandable.js: Update expandedAll attribute when toggling rows. (1b080b91)
  • footer.less: Empty footer cells now take the full available height. (#6630) (dbe3ecd3)
  • gridClassFactory.js: Move priority to correct spot. (842a9b77)
  • gridEdit.js: Move deregister events until event conclusion. (214f6cc4)
  • pagination.less: Correct style pagination in footer info panel. (5ca555a8)
  • selection.js: When enableSelection is false, row cannot be toggled. (33260602)
  • tree-base.js: Stop event propagation on click of the row header. (c2824d5c)
  • ui-grid-render-container: Use offsetHeight to avoid sizing issues. (9927b711)
  • ui-grid.js: Ignore scrollbar height prior to checking if autoAdjustHeight is needed. (f9971a5d)

v4.4.4 (2018-03-23)

Bug Fixes

  • Grid.js: Select All button should be disabled when no data is present. (08ec049a)
  • column-resizer: Disable text selection while resizing columns. (2cf3e02a)
  • filter: Filter input fits in column without bootstrap (a63e1f1a)
  • pagination.less: Pagination footer no longer overlaps last row. (713d3ea9)
  • selection:
    • SelectAllRows pays attention to isRowSelectable function. (0b7304f4)
    • Center checkmarx in selection row header. (3f8758aa)
  • styles: Removed div. from LESS files. (5a7dabd6)
  • ui-grid-column-menu.js: Added keyboard navigation to column menu (#6629) (df429208)

v4.4.3 (2018-03-21)

Bug Fixes

  • GridColumn: Respect minimumColumnSize when a valid minWidth is not present (89c43ef3)
  • pagination.html: Limits pagination page number to integers only (d7eca115)
  • selection.js: enableFullRowSelection allows enableRowHeaderSelection. (f77a5b3f)
  • ui-grid-column-menu.js: Focus on first item in column menu on open. (43b313fc)
  • ui-grid-util.js: Comment out log statement. (6b127e2d)

v4.4.2 (2018-03-20)

Bug Fixes

  • GridRenderContainer.js: needsHScrollbarPlaceholder accounts for WHEN_NEEDED (403bf3ee)
  • i18n: change some strings in de.js due to typos (9ebe1168)

v4.4.1 (2018-03-16)

Bug Fixes

  • 122_accessibility.ngdoc: Update angular-aria version. (faa17fba)
  • pagination.less: Remove unnecessary underline from pagination styles. (f3a4086d)
  • ui-grid.core.js: Add missing i18nService to ui-grid.core.js (06f53d91)

v4.4.0 (2018-03-15)

Features

  • concat.js: Rename ui-grid.base.js to ui-grid.core.js. (18c5ffb8)
  • i18n: Separate language files from ui-grid.base.js (1342f803)

Breaking Changes

  • ui-grid.base.js has been rename to ui-grid.core.js. Also, ui-grid.core.js no longer contains most of the language files available to UI-Grid. It only contains english as that is the default language of the grid. See tutorials for examples. (18c5ffb8)

v4.3.1 (2018-03-15)

  • release: Released UI-Grid to NPM and bower (e90a837)

v4.3.0 (2018-03-14)

Bug Fixes

Features

  • GridRenderContainer: Added WHEN_NEEDED option back to ui-grid. (1c1ea72e)
  • uglify/concat: Publish multiple files separated by features. (6d26274)

Breaking Changes

  • IE9 and Safari 7 are no longer officially supported.

Closes #2273, #2552, #3593, #3854, #4439 (f14da2fc)

v4.2.4 (2018-02-07)

Bug Fixes

  • uiGridAutoResize: Asking for grid $elm sizing in a digest loop always triggers refresh, not cond (835153ce, closes #6561)

Features

  • expandAllButton: Add ability to hide expand all button. (343d7116)

v4.2.3 (2018-02-02)

Bug Fixes

  • exporter: Fix bug where selection column width was included (d6aeb166)
  • importer.js: Remove unnecessary on destroy event. (497a554b)
  • selection.js: Allow selection in tables that use grouping (#6556) (f3d2a7f1)
  • ui-grid-header-cell: Improved styles with grid menu. (c6b8d3bc)

Features

  • i18n: Add Arabic translation (#6551) (24be1fb6)

v4.2.2 (2018-01-17)

Bug Fixes

  • gridEdit: Fixing scrollToFocus issues. (cc8144ca)

v4.2.1 (2018-01-17)

Bug Fixes

  • GridRenderContainer: Fixing scrollbar styles. (c36be957)
  • gridEdit: Fixing issues with focus and grid edit. (924cd9b4)
  • importer: Fix console error on opening grid menu. (01dee3c5)
  • menus: Switching applyAsync for timeout. (136335fc)

v4.2.0 (2018-01-15)

Bug Fixes

  • build: Fixing build failure due to poor updates. (9382312d)
  • cellnav: Replace $timeout with $applyAsync. (be18d09e)
  • docs: Fix broken docs. (10c3100)
  • edit: Replace $timeout with $applyAsync. (2d409557)
  • infinite-scroll: Replace $timeout with $applyAsync. (30af7e9b)
  • lang: Update Polish translations. (2999817)
  • move-columns: Replace $timeout with $applyAsync. (f77df14c)
  • resize-columns: Replace $timeout with $applyAsync. (b77ddc36)
  • tutorial: Updating some tutorial examples. (804fce72)

v4.1.3 (2017-12-23)

Bug Fixes

  • protractor: Improving reliability of protractor tests and ensuring they can run at a basic l (44396d22)
  • uiGridAutoResize: Changed [0].clientHeight to gridUtil.elementHe… (#6490) (fef9552e)
  • GridRenderContainer.js: Fix bug of space to the right of the last column (#6371) (a2f2fd5)
  • ui-grid.html: Fix bug with template for last row's bottom border (#4413) (faa8ece)

v4.1.2 (2017-12-21)

Bug Fixes

  • tutorial: Replacing .success with .then due to angular upgrade. (07cbe8a8)

v4.1.1 (2017-12-20)

Bug Fixes

  • ui-grid.info: Updating ui-grid.info to support angular 1.6.7 (99819cc2)

v4.1.0 (2017-12-18)

Bug Fixes

  • exporter:
    • fix issue #6019 errors while opening grid menu with exporter service (18547eb6)
    • Excel export with npm instructions, fix error on menu and more examples (88f5525)

Features

  • chore: Support Angular 1.6. (56d3c5f)

v4.0.11 (2017-11-20)

Bug Fixes

  • sorting: fixed the priority computing when unsorting using column menu action (#6427) (97e0ffa5)
  • uiGridAutoResize: Replaced timeout checker with watcher (#6470) (262dbdc8)
  • uiGridHeader: stop preserving explicit header heights when styles are rebuilt. (#3705) (76e18d6)
  • uiGridGroupPanel: Cleaning up dead code. (#4059) (ded2c12)

Features

  • Excel export: Adds ability to export as Excel with the help of Excel-builder. (dc7d773)

v4.0.10 (2017-11-11)

Features

  • hidePin: Added option to hide pinLeft or pinRight from pinning menu (#6334) (145e3662)
  • tree-view: Supports recursive expanding (48434903)

v4.0.9 (2017-11-11)

Bug Fixes

  • selection: Adjust bug in checkbox for selection. (#6459) (adfc83c)
  • exporterAllDataFn: exporterAllDataFn results is no longer ignored. (#6163) (f16cdb0)
  • resizing: Fix zero delta on double click resizing. (#5362) (8dd0359)

Features

  • tree-view: Supports recursive expanding (4843490)
  • hidePin: Added option to hide pined containers from pinning menu. (145e366)

v4.0.8 (2017-11-06)

Bug Fixes

  • ARIA-Roles: Improving accessibility of ui-grid. (#6341) (6cf44b4b)
  • Grid.js:
    • add column header to text read by aria when user moves through grid with keyboar (a6b52c2a)
    • wrong use in getCellDisplayValue (57d258e9)
  • core: Fixes URL-based template loading for header-cell, footer-cell, filter. (f0b2fa7d)
  • edit: trigger edit when single click when set enableCellEditOnFocus with true (bcbd8433)
  • pagination: remove unneeded height adjustment (4c667e72)
  • selection: Prevent space bar scrolling (#6410) (7dbf3955)
  • utils.js: Update browser setting based on changes to SauceLabs. (0cdf4e93)

v4.0.7 (2017-09-27)

Bug Fixes

  • build: Cope with tags not conforming to semver format when building. (#6376) (1248e5a3)
  • i18n: Fixed i18n typo in German language (#6262) (02a6a68d)
  • rowEdit: cancel rowEditSaveTimer on flushDirtyRows - may cause double row save (6711c725)
  • scrollEvent: Prevent scrollEvent when scroll percentage is greater then 1. (#6241) (43ffebba)
  • ui-grid.info:
    • Removing unknown broken link. (2968158c)
    • Fix broken customizer url on homepage (#5976) (209fc1d6)
  • cellnav.js: trim text of DOM element before checking (84ea8fa)
  • gridEdit.js: verify that the keyCode is greater than zero (5ccd7f3)
  • Grid.js:
    • Fixed grid height growing indefinitely with auto-resize. (553d72b)
    • "selectAll" header sync with the actual selection state of the row. (aae3f9d)
  • ui-grid-menu: Menu Items's title can now be a function. (df10da9)
  • selection.less: Focus on selection mark of unselected rows was hardly visible. (d1aee28)

Features

  • cellnav:
    • output aria text for cells that come from selection feature - works on IE with J (151f32b9)
    • output aria text for cells that come from selection feature (6d951b2a)
  • gridEdit: Pass triggerEvent to cellEditableCondition fn call (219ea716)

Breaking Changes

  • Menu Items's title should now be a function (df10da91)

v4.0.6 (2017-06-14)

Bug Fixes

  • 5007:
    • Reduced the amount of digest cycles initiated by the grid. (d0bc03d9)
    • Reduced the amount of digest cycles initiated by the grid. (bd51855f)
    • Reduced the amount of digest cycles initiated by the grid. (75f98c3e)
  • 6160: Select childrens of row group (#6167) (21819c57)
  • build:
    • Fixing test expectations since removal of close button. (5bf9400a)
    • Removing performance improvements from ui-grid-util.js and comma separated vars. (738df91f)
    • Updating protractor and selenium dependencies. (#6034) (ca0c0368)
  • protractor: Fixing npm so protractor can be installed and run locally. (724df352)
  • shell.js: Adding windows support. (5e438643)
  • sort: Fixing sorting priority aria-label (a364886f)

Features

  • saveState: change restore() to return Promise created by refresh() (#6178) (f380055b)
  • sorting: Default sorting (e629bc69)

v4.0.5 (2017-06-14)

Bug Fixes

  • 5007:
    • Reduced the amount of digest cycles initiated by the grid. (d0bc03d9)
    • Reduced the amount of digest cycles initiated by the grid. (bd51855f)
    • Reduced the amount of digest cycles initiated by the grid. (75f98c3e)
  • 6160: Select childrens of row group (#6167) (21819c57)
  • build:
    • Fixing test expectations since removal of close button. (5bf9400a)
    • Removing performance improvements from ui-grid-util.js and comma separated vars. (738df91f)
    • Updating protractor and selenium dependencies. (#6034) (ca0c0368)
  • protractor: Fixing npm so protractor can be installed and run locally. (724df352)
  • shell.js: Adding windows support. (5e438643)
  • sort: Fixing sorting priority aria-label (a364886f)
  • ui-grid-menu.js: Removed log debug statement (#5388) (7efe5304)

Features

  • saveState: change restore() to return Promise created by refresh() (#6178) (f380055b)
  • sorting: Default sorting (e629bc69)

v4.0.4 (2017-04-04)

Bug Fixes

  • 6123: Allowing selection and tree-base to build columns. (2ea9a06e)
  • flatEntityAccess: getCellDisplayValue now returns the correct value. (ba77c875)
  • japanese: Update japanese translation. (47e78d1), closes #6089

v4.0.3 (2017-03-24)

Bug Fixes

  • 6061: Translated missing resources to Norwegian in no.js (c6b0592d)
  • Grid: Add missing promise wait in refresh(). (#5934) (e23a2af3)
  • Grid.js: Reducing amount of digests cycles triggered. (205a2151)
  • Grid.refresh: Refreshing canvas after processing. (e6ab96bb)
  • SauceLabs: Updating Sauce Labs scripts per suggestion. (ccd0bef3)
  • gridMenu: Fixing gridMenu undefined error. (2f5ac879)
  • enableColumnResizing: enableColumnResizing accumulates watchers with each table $digest cycle (#5933) (954bebad)
  • ui-grid-util: Reducing amount of digests triggered by ui-grid-util. (1f116fe8)
  • uiGridDirective: Reducing digest cycles and improving coverage. (56f0dc11)

Features

  • themes: Adding a new paper theme to the customizer tool and more features to that grid. (30f64925)

v4.0.2 (2016-12-30)

Bug Fixes

  • bower and npm: Fixing bower.json and package.json configuration. (84b4f328)
  • memory_leaks: Ensuring events get unbound when grid is destroyed. (#5913) (da942e90)
  • modifyRows: modifyRows uses the new entity when using enableRowHashing (138d1499)

Features

  • core: expose GridMenuTemplate (5f15eab5)

v4.0.1 (2016-12-15)

Bug Fixes

  • core: Adding back digest triggers when using $timeout (d8820874)

v4.0.0 (2016-12-09)

Bug Fixes

  • Fix for dropdown losing focus when using scrollToFocus from another editfield (02110029)
  • 5515: Fix validation documentation (b017d7f0)
  • cellnav: when grid has only one focusable column, should navigate up and down (d3801bad)
  • core: Do not clear condition when clearing all filters (97be89a2, closes #4657)
  • edit: fix boolean edit issue on Firefox and Safari on macOS (2059db95)
  • fonts: Ensuring that fonts are added to the ui-grid package. (#5844) (8096ed04)
  • infinite-scroll: Remove returns of adjustInfiniteScrollPosition. (156665f7)
  • pagination:
    • off-by-one error (29fdb7cd)
    • Refactor 'getLastRowIndex' to call 'getFirstRowIndex' (13bf8079)

Features

  • Scrolling: Adding support for a custom scroller. (#5859) (3c6fcb44)
  • core: Reduce digest triggers when using $timeout (7e25a9b1)
  • emptyBaseLayer: made emptyBaseLayer module to create grid background (852f6993)
  • pagination: Add custom pagination with variable page sizes (50880578)

Breaking Changes

  • UI Grid is no longer compatible with angular versions below 1.4 (4341af5e)

v3.2.9 (2016-09-21)

Bug Fixes

  • #5667 honor editModelField when checking new vs old cell value (d846c5b1)
  • use grid headerHeight instead of random 30px value for menu height calculation (5a67dd82)
  • prevent hidden columns triggering unnecessary re-order (8413d8e3)
  • update bower.json and package.json to include files for current npm (6e2331b7)
  • Wrong sort priorities 4653 and 4196 (17296cdc)
  • 3901: Raise rowsVisibleChanged on setVisibleRows. (801042b9)
  • col-movable: prevent hidden columns triggering unnecessary re-order event (644b324b)
  • columnMoving: handle touch events properly when jQuery is used (#5666) (a81e5d5e)
  • filter: Fix noTerm option for filtering (45bb113a)
  • selection: remove a logic bug in setSelected(..) (57cdb31b)

Features

  • core: Allow binding a column to the row entity itself (65e49fd5)
  • filter: Add rawTerm option to columnDef filter options (a75e65a6)

v3.2.8 (2016-09-09)

Bug Fixes

  • #5667 honor editModelField when checking new vs old cell value (d846c5b1)
  • Wrong sort priorities 4653 and 4196 (17296cdc)
  • columnMoving: handle touch events properly when jQuery is used (#5666) (a81e5d5e)
  • filter: Fix noTerm option for filtering (45bb113a)

Features

  • core: Allow binding a column to the row entity itself (65e49fd5)

v3.2.7 (2016-09-09)

Bug Fixes

  • #5667 honor editModelField when checking new vs old cell value (d846c5b1)
  • Wrong sort priorities 4653 and 4196 (17296cdc)
  • columnMoving: handle touch events properly when jQuery is used (#5666) (a81e5d5e)
  • filter: Fix noTerm option for filtering (45bb113a)
  • runValidators: runValidators now returns a promise(..) (f3bf313)

Features

  • core: Allow binding a column to the row entity itself (65e49fd5)

v3.2.6 (2016-07-14)

Bug Fixes

  • use grid headerHeight instead of random 30px value for menu height calculation (5a67dd82)
  • prevent hidden columns triggering unnecessary re-order (8413d8e3)
  • update bower.json and package.json to include files for current npm (6e2331b7)
  • col-movable: prevent hidden columns triggering unnecessary re-order event (644b324b)
  • selection: remove a logic bug in setSelected(..) (57cdb31b)

v3.2.5 (2016-07-01)

  • update for package.json creation for npm

v3.2.4 (2016-06-30)

Bug Fixes

  • update bower.json and package.json to include files for current npm (f7c6700d)
  • col-movable: prevent hidden columns triggering unnecessary re-order event (644b324b)

v3.2.3 (2016-06-29)

v3.2.2 (2016-06-29)

Bug Fixes

  • col-movable: prevent hidden columns triggering unnecessary re-order event (644b324b)

v3.2.1 (2016-06-24)

Bug Fixes

  • col-movable: prevent hidden columns triggering unnecessary re-order event (644b324b)

v3.2.0 (2016-06-20)

Bug Fixes

  • Incorrect scroll percentage calculation in scrollHorizontal method (f075dcbe)
  • Introduce gridDimensionChanged event (40ec65c0, closes #5090)
  • cellNav: notifyText incorrect if cellFilter had string literal parameter (#5404) (08a9b687)
  • core:
    • add row headers in order (572766de)
    • sort priorities were not displaying when 2nd sort was added (47c77de4)
    • add false flag to $timeout and $interval to prevent $apply Nice increase in scro (4ba28205)
    • Sort Priority Zero Based (62dbcfe9, closes #4685)
    • correct filter detection in autoAdjustHeight (31c8e9e8)
  • expandable: Stop adding Expandable column and behavior if feature is disabled (0bb1208c)
  • exporter:
    • remove coma since we use set columnseperator or default,addition to #5130 (d0e40eb7)
    • use boolean ieVersion for csv export (17b1a0a4)
    • pass column seperator options as param to downloadFile (aa9b7793)
  • filter: Custom Filter fix (#4012) (d6d00c21)
  • getTemplate: Updated custom templates as promises condition (#5311) (01cdfe41)
  • i18n: Add japanese translation (805c8805)
  • infinitescroll: make sure more data is always loaded if scrolled to top/bottom quickly (#5183) (49536222)
  • saveState: - Allow saving of pagination state (c6d3b2a1, closes #4146)
  • util: deltaMode being set to 0 (#5155) (8e5d4c4d)

Features

  • expandable: Add 'expandRow', 'collapseRow' and 'getExpandedRows' (005ca6a5)

Breaking Changes

  • It is possible that your application will show row headers in a different order after this change. If you are adding rowHeaders, use the new order parameter in grid.addRowHeader(colDef, order) to specify where you want the header column. (572766de)
  • GridOptions.columnDef.sort.priority now expects the lowest value to be 0. The Grid Header will display a sort priority of 0 as 1. Using if(col.sort.priority) to determine if a column is sorted is no longer valid as 0 == false. Saved grid objects may be affected by this. (62dbcfe9)

v3.1.1 (2016-02-09)

Bug Fixes

  • core:
    • sort priorities were not displaying when 2nd sort was added (47c77de4)
    • add false flag to $timeout and $interval to prevent $apply Nice increase in scro (4ba28205)
    • Sort Priority Zero Based (62dbcfe9, closes #4685)
    • correct filter detection in autoAdjustHeight (31c8e9e8)
  • i18n: Add japanese translation (805c8805)
  • saveState: - Allow saving of pagination state (c6d3b2a1, closes #4146)

Features

  • expandable: Add 'expandRow', 'collapseRow' and 'getExpandedRows' (005ca6a5)

Breaking Changes

  • GridOptions.columnDef.sort.priority now expects the lowest value to be 0. The Grid Header will display a sort priority of 0 as 1. Using if(col.sort.priority) to determine if a column is sorted is no longer valid as 0 == false. Saved grid objects may be affected by this. (62dbcfe9)

v3.1.0 (2016-01-17)

Bug Fixes

  • core:
    • fix #4592. this in link functions = window, not the directive. I could not find (cad146bd)
    • Fix #4776 scrollTo doesn't work with higher rowHeight (0d7d37bb)
    • Column Menu Hidden by Hiding Column (b54cc344, closes #3953)
    • Return promise from handleWindowResize method (ad0095eb)
  • edit: Change setViewValue to use a fromCharCode based on evt.which (f4054b79)
  • grid: adjust grid height when initial height is equal to row height (33b4d6d2)
  • grouping: When 'field' in columnDef is referred to some javascript object than a primitive (d6320636)
  • move-columns: Fix #3448 - The issue is caused by setting a left position to moving element rel (ab0dc113)
  • uiGrid: Fix race condition in data watcher (b22681a3, closes #4532)

Features

  • edit: add a function to retrieve dropdown options (480927ff)
  • i18n:
  • sort: sort priority indicator hiding (7725eac3)

v3.0.7 (2015-10-06)

Bug Fixes

  • Header: Use IE9 condcom to fix header sizing (a549eaa7, closes #3854) (REVERTED #4417)
  • core:
    • Fixes sort priority starting at 2 (c910a6a3)
    • scrollTo rightBound calculation (28227877)
  • infinite-scroll: load more data if needed (65a541f3)
  • pagination: fix pager select not showing 3 digits on some browsers (b183fc79)
  • selection:
    • properly update selectAll flag based on current selection (86badfd2)
    • reset selectedCount on clearSelectedRows If your data is completely replaced by (880ce190)

Features

  • core:
    • add sortDirectionCycle column option (3eca46e9)
    • Adds sort priority number to header (ca47b8ab)
  • i18n: completes nl translation (b7326d81)
  • sort: Give more information to the sort functions (0e094c97)

v3.0.6 (2015-09-07)

Bug Fixes

  • gridUtil: Fixes gridUtil.off.mousewheel event handler (4057c64d)
  • infiniteScroll: Fixes infinitescroll scrolling
  • moveColumns: Restore column order after altering columnDefs array. (2d433bb)
  • pinnedColums: Included pinned columns in export of visibile data. (0b37bc4), closes (#3888)

v3.0.5 (2015-08-25)

Bug Fixes

  • cellNav: Error when field defined with number (5b74559f, closes #4258)
  • columns: don't reset resized columns on data reset by default (bda48aab, closes #4005)
  • core:
    • fix #4180 by adding validity check for minWidth and maxWidth (5b03cb2d)
    • IE does not render correctly when binding is used in style. use ng-style instead (9aea44ac)
  • customizer: Fixes less customizer in docs (f739d9fd, closes #4079, #3918)
  • edit: fixes #4129 by only adding edit listener events when needed because of 'track by (e6bc3009)
  • expandable: fix #4156 by calling stopProp on subgrid scroll (a7dd337a)
  • less: Makes less bootstrap dir a variable (654c75f9, closes #3368)
  • pagination: avoid initial double firing of paginationChanged (1407038b)

Features

  • core:
    • Adds GridRowColumn to core (2bed5307)
    • Add Clear all filters to grid menu (77ffba5a)
  • i18n: Completes zh-cn translation. (0ad28408)

v3.0.4 (2015-08-13)

Bug Fixes

  • grouping: Grouping now raises a sort changed event (d30b1ad3, closes #4155)

v3.0.3 (2015-08-10)

Bug Fixes

  • build: Fixes Grunt Task not Publishing (7571028d)

v3.0.2 (2015-08-10)

Bug Fixes

  • flushDirtyRows will not throw an error when no dirty rows (d46d04ca)
  • Build:
    • Allow Angular 1.3.x upper constraint (13d93f4e, closes #4064)
    • Handle -stable suffix for stable files (f6c881e9)
  • Grid: Allow >45k row identities (d533200f)
  • cellNav: cellNav not getting attached to left container if it is built after body is rend (36f386f4)
  • core:
    • consider enableFiltering in autoAdjustHeight (43974c48)
    • fix template issue in angular 1.2 (d9c50cf3)
  • edit:
    • fix for Chrome and numeric inputs (7d8af94c)
    • selecting text no longer required on editor After implementing viewPortKeyPress, (d609a108)
    • add/remove mousedown events in cellNav on beginEdit/endEdit A recent change by A (708231f9)

Features

  • cellNav: Accessibility Support to Cell Nav (9532de2b, closes #3896)
  • core:
    • Two new directives to one bind (a9d2f903)
    • grid menus accessible (1d577b15)
    • Accessibility and keyboard support to the grid header. (1f1de5a4)
    • Accessibility and keyboard support to the filter controls. (11a1ae55)
    • Basic screen reader accessibility functionality (377485a4)
  • edit: raise beginCellEdit in timeout allows complex editors time to render so they can (6b5807fe)
  • gridUtil: Focus helper functions (94e50a53)
  • i18n:
  • pagination: Accessibiliy & Keyboard Support to Pagination Controls (ee04132a)

v3.0.0 (2015-07-17)

Bug Fixes

  • Grid: Force scroll to 100% when necessary (3bcbe72d, closes #3772)
  • Tests: All e2e tests working in Firefox (b9cc39f1)
  • core:
    • change scrollbar-placeholder background-color to transparent (18a487ea)
    • add a horizontal scrollbar placeholder when needed (365f21f0)
    • fix #3666 #3531 #3340 thanks to @500tech-user and @Jacquelin for PR's that led t (e582174a)
  • edit: fix lost focus and cell scrolling into view on edit (e9a6d4eb)
  • grouping: grouping a pinned column was broken (acb7e7b6)
  • i18n: Replace ZWNJ with \u200c in Persian (2f2936ae, closes #3842)

v3.0.0-rc.22 (2015-06-15)

Bug Fixes

  • Edit: Allow COL_FIELD in editable templates (fa9066b2)
  • Selection: Prevent IE from selecting text (a1bbc0c5, closes #3392)
  • cellNav:
    • #3528 handle focus into grid from other controls (92477c7a)
    • IE was scrolling the viewPort to the end when the focuser div received focus. S (aa563554)
    • focuser element should not have width or height or else the window will scroll t (6997d2b7)
    • was processing left and right renderContainers where there is no need fix(edit): (6f5d503d)
    • add an empty element to focus on instead of focusing on the viewport (6937d4d5)
  • edit:
    • #3128 remove grid scrollbars when in deepedit to prevent any scrolling of parent (91077e82)
    • deep edit keydown logic wasn't right (9e995e9e)
    • tweak the deep edit keydown logic so that Enter and Tab stops editing (fbc38cb1)
    • #3742 dropdown was not calling out to cellNav for cellNav keys. also refactored (2edc4d66)
    • Edit events were being attached in gridCell directive even if edit was not enabl (13ab0945)
  • gridEdit:
    • #3373 spacebar on checkbox was incorrectly invoking deep edit mode (4d9ec8b5)
    • issue 2885 non-character fields were invoking edit. Not sure if I got all the k (025c8939)
  • gridUtil: rtlScrollType using wrong method (15ee480e, closes #3637)
  • moveColumn: account for width of left container when positioning moving column header. (06f223bb, closes #3417, #3395)
  • saveState: Saving state was storing rowHeader columns, causing issues on restore. (c9ce96af)
  • treeBase: Change calculation of number of levels in tree (26ca6215)
  • uiGrid:
  • uiGridColumns: Fix auto-incrementing of column names (a10f1414)
  • uiGridHeader:
    • ensure that styles are rebuilt on explicit height (65ad61f4)
    • Recalc all explicit heights (43f63ac9, closes #3136)

Features

  • grouping: Add option groupingNullLabel, to group null and undefined values together. (9fbb1b87, closes #3271)

v3.0.0-rc.21 (2015-04-28)

Bug Fixes

  • Expandable: Run with lower priority than ngIf (949013c3, closes #2804)
  • RTL:
    • Use Math.abs for normalizing negatives (4acbdc1a)
    • Use feature detection to determine RTL (fbb36319, closes #1689)
  • cellNav: fix null ref issue in navigate event for oldRowColumn scrollTo should not setF (02b05cae)
  • pinning: restore correct width state (4ffaaf26)
  • scrolling: Fix for #3260 atTop/Bottom/Left/Right needed tweaking (89461bcb)
  • selection:
    • allow rowSelection to be navigable if using cellNav; allow rowSelection via the (95ce7b1b)
    • allow rowSelection to be navigable if using cellNav; allow rowSelection via the (3d5d6031)
  • uiGrid:
  • uiGridColumnMenu: Position relatively (9d918052, closes #2319)
  • uiGridFooter: Watch for col change (1f9100de, closes #2686)
  • uiGridHeader:

Features

  • saveState: add pinning to save state (b0d943a8)

Breaking Changes

  • gridUtil will no longer calculate dimensions of hidden elements (e7dfb8c2)
  • Two events are now emitted on scroll:

grid.api.core.ScrollBegin grid.api.core.ScrollEnd

Before: grid.api.core.ScrollEvent After: grid.api.core.ScrollBegin

ScrollToIfNecessary and ScrollTo moved from cellNav to core and grid removed from arguments Before: grid.api.cellNav.ScrollToIfNecessary(grid, gridRow, gridCol) grid.api.cellNav.ScrollTo(grid, rowEntity, colDef)

After: grid.api.core.ScrollToIfNecessary(gridRow, gridCol) grid.api.core.ScrollTo(rowEntity, colDef)

GridEdit/cellNav When using cellNav, a cell no longer receives focus. Instead the viewport always receives focus. This eliminated many bugs associated with scrolling and focus.

If you have a custom editor, you will no longer receive keyDown/Up events from the readonly cell. Use the cellNav api viewPortKeyDown to capture any needed keydown events. see GridEdit.js for an example (052c2321)

v3.0.0-rc.20 (2015-02-24)

Bug Fixes

v3.0.0-rc.19 (2015-02-11)

Bug Fixes

  • Filtering: Let mobile devices tap filter box (01c22acf)

  • Grid:

    • Add css to allow iOS momentum scroll (48fd5021, closes #2671)
    • Allow col reordering with column defs (865573cd, closes #1948)
    • refactor(core) ui-grid $parent scope is now automatically assigned to grid.appScope. gridOptions.appScopeProvider can be used to assign anything to grid.appScope
  • GridColumn: Allow for duplicate field coldefs (82a72130, closes #2364)

  • GridRenderContainer: Redraw with scroll % (bc2c68ab, closes #2357)

  • Mobile:

    • Don't prevent default container touches (8fe4e498)
    • Allow either touch and mouse events (654e0ce8)
    • Bind only to touch or mouse events (995d3c47)
  • Selection: Fix selection w/ row templates (b1a57b69)

  • Tests:

  • Tutorials: Point back to angular 1.2.26 (96625e2a)

  • cellNav: If cellNav api exists, turn on stuff (14264540, closes #2294) *refactor(cellNav) remove unused $scope parameter from api methods

  • uiGridHeaderCell:

  • uiGridRow:

  • edit: edit cell scope was not being destroyed when element was removed

  • gridApi add ability to pass _this variable in api.feature.on.eventName

Performance

  • Grid encapsulate the renderContainer canvasHeight and GridRow.height properties Changes getCanvasHeight function to only recalculate all the row heights when needed. Adds a CanvasH eightChanged event to api.core

Features

  • Core: Implementation for #2483. Adds a showGridFooter option that will create a grid (d0233601) * Adds a showGridFooter option that will create a grid footer with the Total Items and Shown Items displayed. Also shows Selected Items if using Selection feature.

  • cellnav: provide row option to disallow all cells from having focus (1bc05ebc)

  • uiGridRow: Allow dynamic row templates (a547a52e)

Breaking Changes

  • getExternalScopes() function is removed. Use grid.appScope instead. external-scopes attribute is removed. Use gridOptions.appScopeProvider to assign values other than $scope.$parent to appScope

  • removed scope parameter from grid.api.cellNav methods old: scrollTo($scope, rowEntity, colDef) scrollToFocus($scope, rowEntity, colDef) scrollToIfNecessary($scope, row, col) new: scrollTo(rowEntity, colDef) scrollToFocus(rowEntity, colDef) scrollToIfNecessary(row, col

  • scrollbars.WHEN_NEEDED no longer an option

  • showFooter option renamed to showColumnFooter; footerRowHeight option renamed to columnFooterHeight (d0233601)

  • On mobile devices the user will have to long-click to edit a cell instead of double-clicking (654e0ce8)

  • rowEdit: * remove grid from all method signatures

  • importer: * remove grid from importFile signature

  • core: * remove grid from notifyDataChange signature

v3.0.0-RC.18 (2014-12-09)

Bug Fixes

  • Builds: Switch to websockets to get SauceLabs tests running again

v3.0.0-RC.17 (2014-12-08)

Bug Fixes

  • Aggregation: Refactor introduced bug (a54c6639)
  • Builds: Turn off Safari 5 for SL (3cf645ea)
  • Edit: Remove leftover console.log() (3b707584)
  • Header: Hidden header height misplacement (783fefbd, closes #1995)
  • Pinning: Add left border for right container (e409c54b)
  • RTL: Put filter cancel on left for RTL (0885e509, closes #2058)
  • Tests: Accidentally left in a ddescribe (e6cf438a)
  • cellNav: Don't setup when directive not there (9bfa6e3f, closes #2128)

Breaking Changes

  • The hideHeader option has been changed to showHeader

To migrate, change your code from the following:

hideHeader: true

To:

showHeader: false (783fefbd)

v3.0.0-rc.16 (2014-11-13)

Bug Fixes

  • Edit: Retain "focus" in endEdit() (f3a45ef5)
  • Filter: Watch running w/o change check (79f6c21a)
  • Grid: Avoid too-early header height calc (a335b922)
  • GridRenderContainer: Correct prevScroll* (1182b059)
  • Selection: Change api for getSelectAllState() (5ffefafc, closes #2086)
  • cellNav:
    • Don't lose focus with wrapping nav (0e27c181)
    • Minor fixes and speed improvement (94a31149)
  • gridUtil: Allow multiple logDebug params (c903ecc8)
  • uiGrid:
    • syntax error, change variable name (63fedb6c)
    • syntax error, change variable name (181dec76)
    • Fix race condition in data watcher (2b25f249, closes #2053)
  • uiGridMenu: Only run applyHide when not shown (91bf06f2)

v3.0.0-rc.15 (2014-11-11)

Bug Fixes

  • uiGridRenderContainer: Inherit position (fd353287, closes #2030)

Features

v3.0.0-rc.14 (2014-11-05)

Bug Fixes

  • bower: Use right angular version spec (6bd917a0)

v3.0.0-rc.13 (2014-11-05)

Bug Fixes

  • AutoResize: Redraw all of grid on resize. (1bb5367c, closes #1770)
  • Importer: Account for older browsers properly (52823249)

v3.0.0-rc.12 (2014-10-08)

Bug Fixes

  • Customizer: Update column menu style (ffa80002)
  • Grid: Fix a few mobile-browser issues (4bb2d699)
  • Pinning: Fix pinning when col has dyanmic width (9e022bab, closes #1634)
  • RTL: Unfixed .css() call post-jquery (8d31f6a1, closes #1620)
  • Selection: Remove IE11 ellipsis in header (a8ac76c6)
  • Site: Fix version select box height (d2699092)
  • Tests: Date() usage failing on Safari 5 (6440d81c)
  • Travis: Make travis run saucelabs tests (3bc3f272)
  • grunt: Use correct version of grunt-jscs (e88600a0)
  • uiGridCell: Use promises for tmpl processing (9fb29cce, closes #1712)
  • uiGridHeader: Fix height calculations (cfc24442, closes #1639, #NaN)
  • uiGridHeaderCell: Use hasClass() for IE9 (7923f229)
  • uiGridMenu: Set box-sizing: content box (ee418f0d)
  • uiGridUtil: getBorderSize() missing "width" (174f2521)

Features

  • cellTemplates: add MODEL_COL_FIELD to cellTemplate parsing so it can be used in ng-model #1633 (66f3404a)

v3.0.0-rc.NEXT Current Master

Breaking Changes

  • editableCellTemplates should use MODEL_COL_FIELD instead of COL_FIELD. angular-ui/ui-grid#1633 MODEL_COL_FIELD variable was added to the cellTemplate and editCellTemplate for utilizing the bound field in ng-model. Edit feature was changed to use MODEL_COL_FIELD instead of COL_FIELD for consistency.

v3.0.0-rc.11 (2014-09-26)

v3.0.0-rc.10 (2014-09-25)

Bug Fixes

  • typo (1272cf65)
  • CHANGELOG: anchor tag for v2.0.7 was wrong (d0ecd310)
  • column-resizing: 100% width/height not needed on ui-grid-cell-contents, just ui-grid-inner-cell-c (6912d14f)
  • customizer: point to ui-grid-unstable.css at top of page (4892fbc4)
  • grunt:
    • Add testDependencies file array to karma config for travis (7a15fe42)
    • typo (0f641c0f)
    • cut-release wasn't running done() (025c61b2)
    • Make getVersion() work on travis (129f28b8)
  • less: header variables were in file twice (f93f675c)
  • travis:
    • Need only one script command in travis.yml (2278c691)
    • had grunt args out of order (c790245a)
    • use SauceLabs for e2e tests on travis (5d8a21da)
    • accidentally switched a couple words (d67c1871)
  • ui-grid-body:
    • normalize mouse wheel events because browsers suck (2075bf3c)
    • scrolling with mousewheel works (7933c1a4)
  • uiGrid:
    • introduced a bug that added columns over and over when data was swapped (7fc55b5d)
    • Fix elm height calc for hidden grids (420a0dcf)
  • uiGridCell: re-compile if template changes (7485e6ef)
  • uiGridHeader:
  • uiGridStyle:
    s were being needlessly added (ade12ec9)

Features

  • AutoResize: Adding auto-resize feature. (d0bdd829)
  • RTL: Adding RTL support and fixing virtualization (d5a9982d)
  • Selection: Updates (b20c41c1)
  • e2e: protractor testing of docs now works properly with 'grunt dev' (08787be4)
  • filtering: Add row filtering (16161643)
  • row-hashing: Add new row hashing feature (da87ff9a)
  • rowSort: Added row sorting (ce330978)
  • uiGridStyle: Added ui-grid-style directive (5687723f)

2.0.7 (2013-07-01)

Features

This release is mainly focused on fixing the grid layout/column widths:

Columns

  • Removed border-left and border-right from columns. Now we are using vertical bars so if someone sets a width to be 400px for a column, the column will actually be 400px, not 401-402px due to the border. This caused the horizontal overflowing to happen producing a horizontal scrollbar. This also fixed issues like angular-ui/ui-grid#411 where you would see columns not extend all the way to the edge and you would get double borders
  • Percent calculation is handled before asterisks calculations because percent calculation should take higher priority, and the asterisks calculations will then be able to fill the remaining space instead of horizontally overflowing the viewport

A fix contributed by @swalters for #436:

Editing Cells

When editing a cell, the ng-cell-has-focus directive will broadcast a message named ngGridEventStartCellEdit to let all children know that you can now give yourself focus. When the editable cell template is done with editing (usually on a blur event) you need to emit ngGridEventEndCellEdit to let ng-cell-has-focus know that you are done editing and it will then show the non-editable cell template. The reasoning for this is (good quote): "Now I can wrap my input elements in divs/spans, whatever and control exactly what element's blur triggers the end edit" - @swalters. An example (used for ng-input directive):

scope.$on('ngGridEventStartCellEdit', function () { elm.focus(); });

angular.element(elm).bind('blur', function () { scope.$emit('ngGridEventEndCellEdit'); });

Also, there is another option now which is enableCellEditOnFocus (yes, it's coming back) so now you can choose between excel-like editing or enabling edit mode on focus.


Also some fixes contributed by @ebbe-brandstrup are:

configureColumnWidths

  • Columns sized with * or % now expand / shrink as other * or %-based columns are hidden / shown
    • Note: the changes auto-expand/shrink only take effect on-the-fly
    • Works with grouping and when enabling the selection checkbox row (showSelectionCheckbox)
  • Bugfixes in configureColumnWidths
    • Re-ordered columns now keep their width setup
    • Fixed "asteriskNum" so it no longer includes hidden columns (was checking .visible on a columnDefs column instead of the matching ngColumn)
    • Fixed "totalWidth" so it no longer includes hidden columns when using px values for width (was checking .visible on a columnDefs column instead of the matching ngColumn)
    • Fixed ngColumn width being initialized to undefined when using "auto" for width, regardless of "minWidth" settings (was checking .minWidth on a columnDefs column instead of the matching ngColumn)

Renamed "col" to "colDef" in configureColumnWidths() in the places where "col" was a column from "columnDefs". It made it clearer for me whether I was referring to a ngColumn or a column from columnDefs. There were a couple of bugs caused by that (col.visible incorrectly accessed on columnDefs objects instead of ngColumns, and the like).

ng-grid-flexible-height plugin

  • Bugfixes in ng-grid-flexible-height
    • The plugin couldn't shrink the grid, only grow it
    • Using domUtilityService.UpdateGridLayout instead of grid.refreshDomSizes which correctly grows the grid if it's been shrunk (e.g. when paging to the last page and it has few rows + the plugin has a smaller min. height than what's needed on the other pages)

Bug fixes

Too many to list. Here is the pull request angular-ui/ui-grid#511

2.0.6 (2013-06-?)

Features

  • Development

    • Continuous integration testing with Travis CI. A few tests that were looking for pixel perfection had to be relaxed due to rendering differences between browsers and OSes.
    • Moved this changelog to CHANGELOG.md!
    • Added tests for i18n languages. Any new language must cover all the properties that the default language (English) has.
    • CSS files compiling with less (24bb173)
    • Added optional --browsers flag for test tasks. grunt test --browsers=Chrome,Firefox,PhantomJS will test in all 3 browsers at once.
  • Sorting

    • Allow optional '+' prefix to trigger numerical sort (f3aff74, 8e5c0a1)
    • Standardizing sort arrow direction (thanks @dcolens) (9608488)
  • i18n

    • Added Brazilian Portugeuse (thanks @dipold) (ab0f207)

Bug fixes

2.0.5 (2013-04-23)

Features

  • Moving to $http for external template fetching. Should fix issues with grid rendering before templates are retrieved, as well as fetching the same template multiple times.

Bug fixes

  • Fixed bug that prevented the grid from maintaining row selections post-sort thanks to sum4me

2.0.4 (2013-04-08)

Bug fixes

  • Fixing some more minor bugs

2.0.3 (2013-03-29)

  • Changed default multiSelect behavior, updating some plugins and making some more minor bugfixes.

2.0.2 (2013-03-08)

  • minor bugfixes, updating some plugins.

2.0.1 (2013-03-05)

  • Moved to grunt build system. No more international version; all languages are included by default. Fixed minor grouping display issue. Using $templateCache for templates instead of global namespace.

2.0.0 (2013-03-05)

  • Breaking Changes: see documentation (showSelectionBox, enableRowSelection, showFooter). Column Virtualization added. Row virtualization performance improved. Excel-like editing instead of enableFocusedCellEdit.

1.9.0 (2013-02-18)

  • Aggregates now display correctly. Added more option methods to select and group data (see wiki), Added column pinning.

1.8.0 [Hotfix] (2013-02-11)

  • Fixes for multi-level grouping and adding the gridId to both the grid options and as argument to the "ngGridEventData" so you can identify what grid it came from.

1.8.0 (2013-02-07)

  • Major architectural changes which greatly improves performance. virtualizationThreshold now controlls when virtualization is force-enabled and is user-specified in options.

1.7.1 (2013-02-06)

  • Fixed bug with selections and multiple grids. New emit message for notifying when hitting bottom of viewport. Can disable virtualization. ng-grid virtualization is on by default, but can be disabled if there are less than 50 rows in the grid. Anything > 50 rows virtualization is forced on for performance considerations.

1.7.0 (2013-02-05)

  • BREAKING CHANGES: Will add examples. Adding cell selection, navigation, and edit on focus. Added programmatic selections. Improved scrolling. ngGridEvents changed/added: see wiki.

1.6.3 (2013-01-17)

  • Can now highlight/copy text in grid. Fixed multiple issues when using multiselect along with shift key. Refactored key events so now they are all in the same directive for viewport. Hovering over highlightable text will change cursors in viewport. Fixed #93.

1.6.2 (2013-01-09)

  • Merged changes to have two-way data-binding work in templates, so if you're using a celltemplate, you can now use COL_FIELD instead of row.getProperty(col.field). row.getProperty is still in the row class for accessing other row values.

1.6.1 (2013-01-08)

  • Adding ability to preselect rows. Can deselect when multiSelect:false. Bug fixes/merging pull requests. Bower now works. Can now sync external search with ng-grid internal search. Check out other examples on examples page.

1.6.0 (2012-12-27)

  • Adding i18n support and support for different angularjs interpolation symbols (requires building from source).

1.5.0 (2012-12-20)

  • Modifying the way we watch for array changes. Added groupable column definition option. Bugfixes for #58, #59.

1.4.1 (2012-12-18)

  • jslint reformat, minor bugfixes, performance improvements while keydown navigating, adding "use strict" to script.

1.4.0 (2012-12-12)

  • Massive improvements to search thanks to iNeedFat!

1.3.9 (2012-12-12)

  • Refactored and removed unneeded code. Added scope events.

1.3.7 (2012-12-12)

  • Improving template compilation and fixing jquery theme support. Improving comments on grid options.

1.3.6 (2012-12-06)

  • sortInfo can now be set to default sort the grid. Improvements to the beforeSelectionChange callback mechanism when multi-selecting.

1.3.5 (2012-12-06)

  • Improved template rendering when using external template files. columnDefs can now be a $scope object which can be push/pop/spliced. Fixed box model for cells and header cells.

1.3.4 (2012-12-04)

  • Improved aggregate grouping, minor bugfixes. Auto-width works!

1.3.2 (2012-11-27)

  • Changed default width behavior to use *s and added option to maintain column ratios while resizing

1.3.1 (2012-11-27)

  • Added layout plugin. Support for uri templates. Performance improvements.

1.3.0 (2012-11-23)

  • Major code refactoring, can now group-by using column menu, changes to build

1.2.2 (2012-11-21)

  • Built-in filtering support, numerous perfomance enhancements and minor code refactoring

1.2.1 (2012-11-20)

  • Added ability to specify property "paths" as fields and for grid options.

1.2.0 (2012-11-19)

  • Added Server-Side Paging support and minor bug fixes.

1.1.0 (2012-11-17)

  • Added ability to hide/show columns and various bug fixes/performance enhancements.

1.0.0 (2012-11-14)

  • Release