v0.1.0
Breaking Changes:
- The 'comparer' parameter in the options for the
setGroupingmethod, has been renamed to 'comparator' to maintain consistency with the Column Options method. - Upgraded underscore.js dependency to version 1.7.0
Features:
- #90 - A new grid option
rowBasedSelectionallows the grid to lock selections to entire rows - #104 - A new grid option
minColumnWidthnow accepts a "headerContent" value which will restrict the minimum width of the columns to the width of the column headers - #112 - Consistent Shift + Click behaviour for
rowBasedSelectionoption - #132 - The grid.setGrouping() method now accepts custom 'colspan' and 'dataExtractor' parameters for group rows
- #136 - New method
grid.showQuickFilter()allows you to programmatically show and hide the Quick Filter bar - #143 - New method
grid.resizeColumnsToContent()allows you to ask the grid to automatically resize all columns based on their content - New method
grid.getSelectedRows()returns an array of selected row data objects - New method
grid.selectRows()allows you to programatically select rows - New option
grid.options.forceRemoteSortallows you to force remote data sets to control all sorting requests, regardless of whether or not all data is locally cached - New
destroyevent is fired after the grid has been destroyed - Additional validation messages have been added to remote data methods to make it easier for developers to debug server issues
Bug Fixes:
- #111 - Prevent window.resize when target is not window
- #113 - Aggregator counts are not reset when switching between different aggregator options
- #133 - Changing the
grid.options.rowHeightproperty viagrid.setOptionsdoes not take into account cached collapsed rows. - #146 - extractGroups() fails to calculate remote group counts correctly on subsequent calls.
- Fixed a issue with extractGroups not extracting groups correctly when using remote data sets and grouping more than 2 levels deep
- Fixed a race condition where if a fetchGroup() request took longer than a fetch() request, the grid would fail to render and throw an exception message
- Fixed a bug where
options.columns.sortAscwould be ignored when clicking on the column's header to enable sorting - Fixed a bug where sticky group headers would not clear themselves correctly when using nested collapsed groups or when null grouping is disabled
- Fixed a bug where sticky group headers would not resize correctly when columns are resized
For Developers:
- Unit tests have been migrated from Jasmine 1.3 to Jasmine 2.0. Please re-run 'bower install' after upgrading to latest master.
- Code has been broken up into different modules and is now compiled together using Browserify