0.10.0-beta4 (Nov 27, 2013)
Changes since beta3:
- fixed displaying context menu in IE8
- autocompleteEditor has new option
filter
which control whether options which don't match the phrase typed in the input should be hidden - new editor called
dropdown
- from now on value of
type
option can only be a string - enhanced integration with Polymer and Web Components
- fixed opening cell editor with doubleclick in IE8
- fixed doubleclicking on cell of type
checkbox
- enhanced phrase highlighting in autocompleteEditor
- fixed validation for cell type
autocomplete
- fixed displaying fill handle in IE8
0.10.0-beta3 (Oct 30, 2013)
Changes since beta2:
- fixed issues with native scrolling. Now it is usable in windows Chrome and Firefox. By next major version (0.11.0) native scrolling will become default, so please submit your comments
- cleaned up code from previous dependencies (Bootstrap Typeahead for autocomplete cell, jQuery-contextMenu for context menu). Now these features are rendered using Handsontable-in-Handsontable. This results in more consistent user experience and codebase reduced by more than 10%, compared to 0.9.x branch.
- renamed Web Components custom elements to
<handsontable-table>
,<handsontable-column>
0.10.0-beta2 (Oct 17, 2013)
Features since beta1:
jquery.contextMenu
plugin replaced by a native solution, based on Handsontable- removing row or column can now be aborted, if any of the handlers of
beforeRemoveRow
orbeforeRemoveCol
events returnsfalse
(#962)
Bugfixes since beta1:
- keyboard events are now properly delivered, when Handsontable is displayed in iframe (#1003)
- added missing source maps for 3rd party libraries (#1010)
- fixed editing cells which value has been removed usnig DELETE or BACKSPACE (#1023)
- sorting is now reset after every
loadData()
(#1050) - fixed removing and inserting rows and columns into sorted table (#1072, #1078)
- fixed marking autocomplete cells as invalid #1092
0.10.0-beta1 (Sep 24, 2013)
Features:
- new, cleaner editors API
- all native editors are now public
- replaced Bootstrap Typeahead with native solution in Autocomplete editor
- added Select editor
- added native scroll
0.9.19 (Oct 01, 2013)
Two features that come in handy for plugin developers:
- new plugin hook:
afterRenderer
- (previously private) DOM helpers are now exposed as
Handosontable.Dom
(see api)
0.9.18 (Sep 19, 2013)
Features:
- native browser scrollbars feature becomes usable, but currently only works vertically (demo)
Bugfixes:
- it was possible to move a column by just double clicking on move handle (#963)
- can't edit a cell that is outside of the viewport (#1035)
- context-menu-layer was not removed from DOM after $.contextMenu destroy
- cleanup CSS from excessive vendor prefixes
- performance improvement of scrolling with autoColumnSize
0.9.17 (Sep 5, 2013)
Features:
beforeRemoveRow
andbeforeRemoveCol
events are now invoked with absolute index- if table has custom column headers, removing column will also remove the corresponding header
Bugfix:
- fixed crashing the whole page when autocomplete is on (#1011)
- fixed changing multiple cells values when using autocomplete (#1021)
- fixed handling multiple tables with different sorting options on the same page (#1020)
- fixed undoing row removal from tables which data source is array of objects (#966)
- fixed undoing column removal
- fixed removing columns form table which has more rows than can be rendered in viewport (#1012)
- fixed marking Undo/Redo in context menu as enabled/disabled
- fixed adding new rows directly to data source, when table is sorted (#858)
0.9.16 (Aug 27, 2013)
Features:
- New cell type:
password
- Rebuilt UndoRedo module
Bugfix:
- fixed using manualColumnMove with multiple HOT instances (#999)
- fixed autoWrapCol and autoWrapRow behaviour (#992)
- autocomplete fields will now behave the same as regular fields after closing editor by clicking on another cell (if in non strict mode) (#991)
- fixed validation after changing column order (#980)
0.9.15 (Aug 26, 2013)
Features:
colWidths
property of the constructor may now be of type: number, string, array, function (was only array) (#947, #997)widths
property ofcolumns
orcells
option may now be of type: number, string (was only number)
Bugfix:
- autoColumnSize now calculates width using the actual cell renderer (#486)
0.9.14 (Aug 20, 2013)
Bugfixes:
- fixed selecting date using jQuery UI Datepicker (#970)
- fixed opening cell editor after clearing cell data with Delete or Backspace (#975)
0.9.13 (Aug 16, 2013)
Features:
- removed the need to declare
.handsontable .htCore td
in user CSS. Now.handsontable td
works ok (#965, #956)
Bugfixes:
- cellProperties were not refreshed after removing a row (#959)
- manual column resize handles were misplaced when table changes width (#949)
- when no cells have focus CTRL+V pastes into all cells up to last cell to have focus (#946)
- afterColumnResize callback can be called with an incorrect size, or undefined (#945)
- can't start cell editing while holding SHIFT (#944)
- autocomplete text editor was throwing afterChange event twice (#939)
- fixed inserting and removing rows when columnSorting is enabled, but table hasn't been sorted yet (#915)
- toggling checkbox state using spacebar did not update the data source and trigger afterChange event (#895)
- context menu functions did not work properly when the cell selection was performed upwards or leftwards (#674)
observeChanges
should register only external changes, not changes made with Handsontable (which led to plugin hooks triggered twice)error adding row when column sorting is in effect (#858)- still not fixed. We will address it with high priority- Opening autocomplete list, hovering over a list item and then clicking outside of the table will close the editor and won't change cell value (#638)
0.9.12 (Aug 7, 2013)
Features:
- closing cell editors when table is being scrolled (#914)
- added
sort()
method to programmatically sort table - plugin
contextMenu
can now be enabled or disabled usingupdateSettings()
method - extension
removeRow
can now be enabled or disabled usingupdateSettings()
method (#934) - plugin
observeChanges
can now be enabled or disabled usingupdateSettings()
method - plugin
autoColumnSize
can now be enabled or disabled usingupdateSettings()
method - 2 new events:
beforColumnSort
andafterColumnSort
fired before and after table sort
Bugfixes:
- fixed incorrect width of horizontal scrollbar when scrolled to rightmost column (#909)
- fix ability to check/uncheck checkboxes using spacebar (#895)
- added more specific selectors in CSS, so that jQuery UI styles and default HandsonTable styles does not interfere (#498)
- fixed moving table column, when table is scrolled horizontally (#527)
afterRender
event is now fired after every table scroll (#733)- fixed inserting and removing rows form sorted table (#915)
- added proper mapping of cell properties when table is sorted (#917)
- fixed IE
Array.filter()
shim (#934) - fixed tests, so that they all pass on Sauce Labs servers
- fixed support for legacy syntax in cells method
return {type: {renderer: function(){ /*...*/ }}
- autoColumnSize plugin no longer tests column width using number '9999999999' (now it takes first value from data source)
0.9.11 (Jul 29, 2013)
This version fixes some severe cell listener issues introduced in the last version.
Bugfixes:
- selecting a cell in another table when already focused on an existing table does not bring focus to the new table (#924)
- cannot change more than 2 numeric cells (#911, #922)
- Focus lost after Ctrl+(A or Z or Y) (#910, #893)
0.9.10 (Jul 23, 2013)
Features:
- New option:
persistentState
(docs). Settings of manualColumnMove, manualColumnResize and columnSorting can be restored on page load using localStorage. See Column resize and Sorting demos
Bugfixes (sorting):
- issues with create/update/delete operations on a sorted table (#793, #542, #746)
- added proper sorting for
date
column type (#720) - sorting tables with spare rows that contain not empty cells (#857)
Bugfixes (validation):
- cell editors now work better with async cell validators
- validator should add class name
htInvalid
to a cell without removing other classes
Bugfixes (big cells):
- remove maximum column width 200px limit (#422)
- refactor manualColumnResize plugin, now it works ok also with columns wider than viewport
- refactor scrollViewport to correctly scroll to cells wider than viewport (should just cut the part that is not visible)
- refactor scrollViewport to correctly scroll to cells higher than viewport (should just cut the part that is not visible)
- cell editor could not handle long values correctly (#393, #441, #804)
- scrollbar handle size does not depend on row height anymore, which solves problem of jumpy scrollbar behavior for rows of variable height SC#527
- it should not be allowed to select fragments of Handsontable chrome (even if
fragmentSelection
set to true) - fix cell selection positioning for tables with
<caption>
Bugfixes (other):
- removing rows from table with fixed rows (#805)
- issues with selecting inputs/textareas/selects outside of HOT (#408)
- fixed API methods
addHook
,addHookOnce
,removeHook
,runHooks
,runHooksAndReturn
to manipulate local hooks - fixed calling
beforeChange
andafterChange
hooks multiple times while editing a single value in a column with synchronous validator (#864)
Performance:
- replace jQuery
find
withquerySelector
where possible - replace jQuery
index
withwtDom.index
where possible - up to 8x faster - replace jQuery
:visible
withwtDom.isVisible
where possible
Other:
- updated Grunt packages
- added livereload to
grunt watch
- works with Chrome LiveReload extension. See: https://github.com/gruntjs/grunt-contrib-watch - remove the deprecated
isWritable
cell property from code and demo; add it temporarily tosrc/plugins/legacy.js
so it does not break your code (to be removed in 1.0 or sooner) - now all tests pass in IE8-10, FF, Ch, also with
grunt sauce
0.9.9 (Jun 30, 2013)
Bugfix:
- version 0.9.8 contained a fatal typo in cut (CTRL+X) callback
0.9.8 (Jun 30, 2013)
Bugfix:
- copy/cut/paste did not work since last version (#846)
0.9.7 (Jun 30, 2013)
Features:
Bugfixes:
updateSettings
method did not take effect when updatingreadOnly
,columns
,colHeaders
,fixedColumnsLeft
,fixedRowsTop
(#824, #715, #524)- numeric cell type did not respect the
readOnly
setting demo/php.html
is now fixed (runs only when PHP is installed, does not work on handsontable.com)- mousewheel not working in IE8 (#817)
- HTML in cells and headers was escaped when it shouldn't be (#845, #815, #821)
- fixed issues with asynchronous validators
Other:
- all Handsontable event listeners now listen on document body. This was needed to make
fragmentSelection
feature - created the Handsontable Google Group. Please use it for general questions - and keep GitHub Issues for bugfixes and feature requests
Tests:
- initial integration with Sauce Labs (
grunt sauce
). More info about testing coming soon in wiki - dropped support for IE7, which now has below 1% of the global market share. IE8 is safe for now
0.9.6 (Jun 18, 2013)
Bugfixes:
isEmptyRow
produced errorthis.countCols is not a function
(#632)- delete row extension does not show the button when grid is inside a
<table>
(#764) - drag-down not working if Handsontable is inside a table (#355, #361, #538, #438, #671, #704) - this makes me realize how many people still use tables to create a layout
- numeric cell renderer did not add class name
htDimmed
to a read only cell
Performance:
- avoid jQuery and expensive DOM operations in several places
Other:
- add more test cases
- upgrade jQuery contextMenu plugin to v1.6.5
- upgrade jquery-mousewheel plugin to v3.1.3
0.9.5 (Jun 15, 2013)
Feature:
- cell validators! See the redone Validation demo page. New plugin cell options:
validator
,allowInvalid
. New plugin hooks:beforeValidate
,afterValidate
Bugfixes:
- read only cells:
htDimmed
overrides all classes (#699) - calling 'loadData' after a change made by a paste event will produce an error in the hooks invocation (#783)
- autoColumnSize did not take
<table>
class into account when measuring the column width - column header width was not applied correctly where there were no rows in the data source
- methods
countVisibleRows
andcountVisibleCols
threw an exception if table is not rendered (now they return -1)
Performance:
- use
cloneNode
in cell built-in cell renderers for better performance - fix double rendering in populateFromArray method
- cellProperties are now cached (not created on the fly)
Other:
- add
grunt-contrib-connect
toGruntfile.js
that allows to run an ad-hoc http://localhost:8080/ server with commandgrunt connect
- ensure good integration with Bower front-end package manager
- bind
cellProperties
asthis
incells
callback
0.9.4 (Jun 7, 2013)
Bugfixes:
- should scroll to last row with very high rows respecting fixedRows (#758)
- Native Scrollbar was listening to window scroll also after table was removed from DOM
numeric
cell type now correctly formats negative values and strings with dot character (#658)- fix for returning false on
beforeChange
callback has no effect (#749) - clicking on partially visible cell scrolled the table but did not select the desired cell
Other:
- Numeric cell type demo now shows default (USD) and custom (EUR) locale for currency formatting
0.9.3 (Jun 4, 2013)
Bugfixes:
- scrolling to the last row/column did not work with rows of big height, or columns of big width (#645, #698, #730)
- fix
observeChanges
in IE9-10 and Firefox (merge Object.observe shim fixes from Starcounter-Jack/JSON-Patch#6) - initial render was incomplete with Native Scrollbars on
- flat notation of options
cellProperties.renderer
,cellProperties.editor
did not work as desired (#713) - cut and paste events did not work in a reliable way in Mac Chrome and Safari
Other:
- make Callbacks demo faster and more convenient
- change async tests to sync where possible
0.9.2 (May 28, 2013)
Features:
- initial release of Native Scrollbars feature (experimental, don't use yet)
- initial release of
observeChanges
option (experimental). Available for all supported browsers except IE 7-8 (uses Object.observe when possible or a custom shim based on Starcounter-Jack/JSON-Patch)
Bugfixes:
- mouse wheel didn't scroll the window when cursor was over Handsontable (#383, #627)
- methods
countVisibleRows
andcountVisibleCols
were broken since version 0.9.0 (#711) - WalkontableDom.prototype.offset now returns offset relatively to the document also for position: fixed
- fix scrolling on border cases when table height was the size of the container
Docs:
- new demo page Options. Currently features one option but this will improve over time
- added new file CONTRIBUTING.md. Will be updated with more information soon
0.9.1 (May 22, 2013)
Bugfix:
beforeKeyDown
event is now also triggered from text editor handler
Docs:
- demo page Callbacks now features all callbacks
- new demo page for beforeKeyDown event
0.9.0 (May 21, 2013)
Features:
- cell renderer and editor may now be declared as strings provided they are aliased in the lookup map (docs, demo, #667)
- new event hook
beforeKeyDown
(docs)
Bugfixes:
- fix demo page buttons.html (#602)
Web Component updates:
- update Web Component demo with tiny dashboard
- update Toolkitchen Toolkit to Polymer (@3aec92c)
- use unmodified Handsontable JS and CSS files inside the component
- include all Web Component dependencies inside HTML Import (you just import Polymer and one HTML file!)
- Web Component now uses jQuery 2.0.0 (bundled in), but in future will not depend on jQuery
- remove jQuery UI datepicker from Web Component version (it won't work, as described here: http://bugs.jquery.com/ticket/13342)
Other:
- date cell type: upgrade to jQuery UI 1.10.3
- introduce WalkontableViewport abstraction
- fix problem with row header fixed width (now width is dynamically checked) (#402, #475)
0.9.0-beta2 (May 15, 2013)
Features:
- consistency: now all
on*
events are renamed toafter*
(see Events wiki page) - new paste methods (docs)
- new methods:
Bugfixes:
- fix problem with clearing
animate
function interval (#456) - fix auto resize column when double clicked on
.manualColumnResizer
(#594) - fix undo/redo event handler (change
datachange.handsontable
event toafterChange
hook) - fix inline styles in "Edit in JSFiddle" code generation
- fix horizontal scrolling in IE8 (#583)
Other:
- new demo pages: Pagination and Search
0.9.0-beta1 (May 7, 2013)
Features:
- improved Options model. Cell properties now inherit from Column properties constructor, which inherit from Handsontable Constructor. This is based on JavaScript prototypal inheritance, rather than
$.extend
as previously - new Events architecture (common for callbacks and plugin hooks)
- new events available:
setDataAtCell
method now acceptssource
string as second parameter (if first parameter ischanges
array)
Bugfixes:
- fix problem of rendering an unspecified height table with no rows
onBeforeChange
now allows to remove one change from array by assigning it null value (changes[i] = null
)
Other:
- move
jquery.handsontable.js
andjquery.handsontable.css
todist/
0.8.23 (May 3, 2013)
Features:
- Handsontable will not be rendered if the container is not attached to DOM or it's style is
display: none
- new configuration option
observeDOMVisibility
(defaulttrue
) will attempt to rerender it once it is attached to DOM or style changed todisplay: block
Bugfixes:
- Backbone Collections throw error in loadData (#606)
- auto column size did not consider CSS style of each instance separately
- vertical mousewheel scrolling does not work without horizontal scrollbar (#541)
0.8.22 (Apr 29, 2013)
Features:
- first version to support W3C Web Components! In this proof-of-concept state, better don't bother to follow that link in browser different than Chrome
- text renderer now adds class name
htDimmed
to read only cells TD.htDimmed
rule added to CSS file
Bugfix:
- table with set
width
and undefinedheight
was shrinking on window resize - onChange fired twice when changing an autocomplete cell (fixes #260, #530, #531, #534)
0.8.21 (Apr 24, 2013)
Feature:
Bugfix:
- focusCatcher produced a 1x1 px red pixel in top left corner
0.8.20 (Apr 19, 2013)
Bugfixes:
- source parameter should be
edit
when cell value is changed through editor (#566) - getRowHeaders returns NaN when no argument given - should return array of all row headers (#568, #352)
- getColHeaders returns NaN when no argument given - should return array of all column headers (#569, #382)
- selected area class name was not applied on scrolling (tdCache was not bound to instance)
- fix cell focusing problems (#549, #506, #573)
- currentRowClassName and currentColClassName not kept while scrolling (#455)
Other:
- refactor row and column header DOM operations to be consistently defined in
tableView.js
- remove
asyncRendering
mode that was causing more trouble than benefit - as the result, code is now 100 lines shorter and more stable!
0.8.19 (Apr 12, 2013)
Bugfix:
- table width was not correctly read from container width
0.8.18 (Apr 12, 2013)
Features:
- added "Maximize HOT table" button in first example on Scroll demo page (#495)
Bugfixes:
Other:
- refactored Walkontable code that measures column width strategy (for better performance and stability)
- moved reading DOM settings from tableView.js core.js (new method
parseSettingsFromDOM
)
0.8.17 (Mar 31, 2013)
Features:
- performance: remove jQuery dependency from many places
- performance: in cell renderers, replace
innerHTML
withcreateTextNode
- better integration with Twitter Bootstrap (fixes #78)
Bugfixes:
- empty cell not shown in Firefox when not in standards mode (#418). This is questionable as a bug but anyway we fixed it.
- continued fix for #461
- fix problems when removing rows/columns using context menu (#523)
Other:
- new editor inheritance model (#516)
src/3rdparty/walkontable.js
has been divided into many source files insrc/3rdparty/walkontable/src/*
. Build process is updated to use Walkontable source files now- 3 Grunt test tasks are available now:
grunt test
,grunt test:handsontable
,grunt test:walkontable
0.8.16 (Mar 26, 2013)
Features:
- Handsontable in Handsontable editor
- performance and code quality fixes
height
andwidth
settings can now be functions (that return a number)
Bugfixes:
- autocomplete menu did not reset
<li>
margin destroy()
of one Handsontable instance made other instances on the same page unfunctional- Autocomplete (Bootstrap Typeahead) did not allow empty string as a value (#254)
- outsideClickDeselects : false disables all focus in other inputs outside the table (#408)
- can't scroll all the way horizontally (#430)
- scrollable Handsontable does not work well with Twitter Bootstrap (#224)
- weirdly shrinking table when height attribute was not set (#461)
Other:
- trying to load a string as a data source now throws an error
0.8.15 (Mar 18, 2013)
Features:
- new callbacks:
onSelectionEnd
andonSelectionEndByProp
(see README.md for usage information) - new demo page Callbacks
- breaking change:
getSelected
method output has slightly changed. Was: [topLeftRow
,topLeftCol
,bottomRightRow
,bottomRightCol
]. Is: [startRow
,startCol
,endRow
,endCol
]. This gives information about the direction of the selection - now you can tell if the selection started from left to right or otherwise.
Bugfixes:
outsideClickDeselects: false
disables all focus in other inputs outside the table (#408)- copy paste in Mac Safari didn't work (#470)
- table jumps back and forth when scrolling (#432)
- destroy doesn't unload context menu functionality (#434)
- throwed error when Enter key was pressed on autocomplete cell in the last row (#497)
- Autocomplete in strict mode allows values other than predefined (#405)
0.8.14 (Mar 14, 2013)
Features:
- now, your data source can be a function! See the last section of the Array, object and function data sources page for examples (fixes #471, #435, #261)
- also the column
data
property can be a function as well! Again, see the last section of the data sources page for examples - new methods:
countEmptyRows
,countEmptyCols
,isEmptyRow
,isEmptyCol
. You can define your own functions forisEmptyRow
andisEmptyCol
(see README.md for details)
Bugfix:
- replace reference to non-existent Exception with Error (#494)
- textarea copyPaste covering page elements (#488, #490)
0.8.13 (Mar 12, 2013)
This release adds a min-width: 600px
to the test suite to make sure that 100% of current tests are passing in Travis CI (PhantomJS) as well as in the desktop browsers.
There are still many bugs to be fixed, but now it should be much easier to keep the increasing quality of future versions.
0.8.12 (Mar 12, 2013)
This release doesn't really bring any improvements for the end user but is a big step towards test automation. From now on, a push to the master
branch triggers a Travis CI build that performs automated testing using grunt-contrib-jasmine. Thanks @bollwyvl for your help!
As a side effect, tests are now be runnable using PhantomJS. To run the test suite in PhantomJS, type grunt test
(first run npm install
to make sure you have all dependencies installed). PhantomJS runs the test suite much faster than desktop browsers, so it may come handy.
Bugfixes:
destroy
method now clears all pending timeouts
0.8.11 (Mar 8, 2013)
Features:
- this may be a breaking change for some applications: Now the third parameter to the
alter
method tells the amount of rows/columns to be inserted/removed. This adds more consistency to the API. (#368, 67fe67c) - merged pull request #474 - Travis-CI integration. The tests don't pass yet but don't worry about it yet. It is a work in progress on complete test automation. Making all tests pass on Travis CI headless browser may take few more days or weeks :)
Bugfix:
- again, this may be a breaking change for some applications: Fix very long standing inconsistency. Restored original
setDataAtCell
requirement of the second parameter to be a column number (as described in README.md since always). If you happen to experience an error insetDataAtCell
after upgrade, change your usage of this method to the new methodsetDataAtRowProp
(#284, 90e1b67) - new methods
setDataAtRowProp
andgetDataAtRowProp
that set/get data according to the property name in data source. See README.md for clarification (#284, 90e1b67) - merged pull request #266 - fix countCols for arrays with column settings
0.8.10 (Mar 7, 2013)
Bugfix:
Docs:
- simplify CSS for demo pages (get rid of
bottomSpace
classes) - refresh the style of jsFiddle links
0.8.9 (Mar 6, 2013)
This is a feature release of a new cell type. For people waiting for some bug fixes, I promise next release will focus on fixing some important bugs!
Features:
- Date cell type. Updated pages Date and Cell types. Solves issue #431
- refactored the
text
,autocomplete
anddate
cell editors to share as much code as possible
0.8.8 (Mar 4, 2013)
Bugfixes:
startRows
/startCols
option did not work as described in README.md. This parameters should be only taken into account when NO data source is provided (5c865ba)- finish editing should move the focus aways from textarea to table cell (f4f6496)
0.8.7 (Mar 1, 2013)
Bugfixes:
- use default cell editor for a cell that has declared only cell renderer (#453, a5c61a2)
- copy/paste did not work on Mac since 0.8.6 (#348, 463d5c9)
- global shortcuts (like CTRL+A) should be blocked when cell is being edited (8363008)
- numeric cell editor did not convert cell data to number type when data source was an object (b09f6d3)
- another attempt to solve scrolling to the top of table on any key press if the top is not on the screen (#348, d37859b)
0.8.6 (Feb 27, 2013)
Features:
- Numeric cell type. Updated pages Numeric and Column sorting. Solves issues #443, #397, #336. Partially solves issue #121 (a052013)
- autoColumnSize feature is now aware of renderer functions (before this, cells rendered with autocomplete and numeric renderer were too narrow) (7770f8a)
Bugfix:
- scrolls to top of table on any key press if the top is not on the screen (#348, 290cde9, 408f29d)
- cell editor was using a wrong cell value if column order was manually changed (#367)
- cell editor dimensions were not refreshed if table was rerendered during editing
- fix recalculation of container dimensions after window resize (#400, #428)
Other:
- reimplement cell editing abstraction. Now TextEditor
<textarea>
is decoupled from cell selection and copy/paste keyboard handling (14e4cc1, 1eb01bd, f2b412f, e5af5d7) - upgrade Bootstrap Typeahead to v2.3.0
- build system now requires Grunt 0.4.0 (read instructions how to upgrade here: http://gruntjs.com/upgrading-from-0.3-to-0.4) (3ebed1d, 6d01ae5)
0.8.5 (Feb 18, 2013)
Bugfix:
- clear currentRowClassName and currentColumnClassName when refreshing selections (#398, 8df5de9) - thanks @jaycfields
0.8.4 (Feb 17, 2013)
Features:
Other:
- add jQuery Plugins Registry manifest file
0.8.3 (Jan 23, 2013)
Features:
- optimize jquery-autoresize plugin: arclones element is emptied before injecting another node
- new configuration options
currentRowClassName
andcurrentColClassName
along with new example page Highlight current row & column [TODO: write tests] - Manual column resize
- Column sorting
- compability: automatic column size is asserted
true
whencolWidths
option is not provided - apply automatic column size when double clicked on manual resize handle [TODO: write tests]
- Scroll example page describes difference between available column stretching modes (all, last [default], none)
- manual column move
Breaking changes:
loadData
no longer sends list of changes toonChange
callback. That was not performant. Now if sendsnull
changes object andloadData
as source string.
Bugfixes:
- overflow auto only worked when declared in inline style (not in CSS class) (issue #339 point 6)
- during initialization, sliders were shown for a while in the top left corner
- scrolling issues (#343, #331, partially #360)
- deselection when param
outsideClickDeselects
set to true (issue #351) - order of callbacks when clicked outside of a cell (issue #269)
- context menu was shown when clicked outside of the table (issue #306)
0.8.2 (Jan 7, 2013)
Features:
- new options
copyRowsLimit
,copyColsLimit
and callbackonCopyLimit
. The options configure the amount of rows and columns that can be copied to clipboard (default 1000). The callback will ba called if the limit is exceeded (response to an issue first reported by @itanex / #295) - performance fixes for selecting all cells (CTRL+A)
- auto width [TODO: write more]
- auto stretch [TODO: write more]
Bugfix:
selectCells
did not perform multiple selection when given 4 parameters
0.8.1 (Jan 6, 2013)
Bugfixes:
- fixed error when loading a new data source with fewer rows/columns
- using
minCols
withcolumns
option caused an infinite loop. Nowcolumns
length sets a fixed number of columns (optionsstartCols
,minCols
,maxCols
will be ignored whencolumns
is set) (fix #334) - onChange was triggered before data was rendered (fix #333)
- public
destroy
method did not unbind Handsontable events (fix #335) - fix error when data row was externally removed while scrolling
Other changes:
- Custom HTML demo page (Rendering custom HTML in header) did not work well
- JSFiddle links now also work in Context Menu demo page
- tests are now passing 100% in Chrome, FF, IE9 and Opera. Tests are 99% passing in IE7-8, but remaining 1% does not affect normal operation in these browsers
0.8.0 (Jan 2, 2013)
After series of bugfixes in last 3 beta version, this is the first stable release in 0.8.x branch. From now on, I will try to update critical issues more frequently.
New features since 0.8.0-beta3:
- new methods
rowOffset
,colOffset
,countVisibleRows
,countVisibleCols
- new callback
onCreateRow
[TODO: write tests] dataSchema
can now be a function that returns object/array [TODO: write tests]- when using
overflow: auto
, only relevant scrollbars should be displayed (first reported by @dansabirov / #295) - fixed scrolling with arrow keys
- column title can be given as
columns[].title
(not only colHeaders[]) [TODO: write tests] - column width can be given as
columns[].width
(not only colWidths[]) [TODO: write tests] - column type can be set using simple strings:
autocomplete
,checkbox
Other changes:
- public methods
colCount
,rowCount
are removed. UsecountRows()
andcountCols()
public methods instead - public methods
setCellReadOnly
,setCellEditable
are removed. UsereadOnly
cell property to make a cell read-only. Seedemo/readonly.html
for examples - options
minWidth
,minHeight
are removed. Their definitions were to blurry and usage case too limited. Usewidth
andheight
options instead and provide as many rows/columns in your data source as you need - add
render
method to README.md
Bugfixes since 0.8.0-beta3:
- enter on last row/col should add more rows/cols if minSpareRows/minSpareCols > 0
- double clicking on fill handle fills the column to the last non-empty row
- pressing enter/tab in autocomplete moves to next row/column
- CTRL+A works slow on large data sets (as reported by @brivazac / #295)
- CTRL+A, CTRL+C sequence did not work well if CTRL was not released
- page up/page down worked wrongly
Known issues:
- clicking on cell & row borders has no effect (first reported by @cscribner / #295)
- copy of large selection (5k, 10k, 100k rows etc) freezes IE8 (first reported by @itanex / #295). Below 1k rows works fine. The only solution I can think of right now is to set copy limit in IE8 to 1000 rows.
- paste of large selection (100k rows) freezes Firefox (first reported by @ravio / #303)
- autocomplete does not work with empty field in source; autocomplete strict mode looks broken (as reported by @MDron / #303)
- scrolling mouse wheel/page up/page down should not block the window scroll if the first row/last row was reached
- page up/page down does not behave exactly as in Google Docs (moves selected cell to first visible row). This is because transformStart implies scrollToCell. It should be decoupled sometime in future
0.8.0-beta3 (Dec 18, 2012)
Beta preview has been updated: http://handsontable.com/0.8.0/
Bugfixes since 0.8.0-beta2:
- fixed scrolling with touchpad (as reported by @codename- / #303)
- fixed double click on cell (as reported by @MDron, @ravio / #303)
- CTRL+A then Delete did not remove redundant empty rows in scroll example (as reported by @ravio / 303)
- fill handle (drag-down) feature is currently broken (as reported by @chaowarat / 301)
- CTRL+Enter while editing multiselection did not work (should apply the value to all the selected cells)
- now works in IE7
Other changes since 0.8.0-beta2:
- removed
jquery.ui.position.js
fromjquery.handsontable.full.js
, because it seems to have no effect (explained indemo/contextmenu.html
)
0.8.0-beta2 (Dec 14, 2012)
Beta preview has been updated: http://handsontable.com/0.8.0/
New features since 0.8.0-beta1:
- now the table is rendered even faster with
requestAnimationFrame
Bugfixes since 0.8.0-beta1:
- fixed known issue "selecting an area and clicking one of its cells within 500 ms starts editing of that cell"
- fixed known issue "table width and height is now configured using
width
andheight
settings" - fixed error when clicking on row/column header (related to @cscribner / #295)
- fix copy-paste in Chrome (thanks @ravio / #295)
getRowHeader()
referenced to colHeaders instead of rowHeaders (thanks @marint / #295)- fix performance of
loadData
(thanks @codename- / #295) - now works in IE8, still not yet in IE7
0.8.0-beta1 (Dec 11, 2012)
Beta of new upcoming version 0.8.0 can be previewed here: http://handsontable.com/0.8.0/
Features:
- completely new rendering engine codenamed "Walkontable" that uses a
canvas
type approach to draw the visible part of the table on screen. Works smoothly even with data sources above 100 000k rows.
Bugfixes:
- fixed CSS problems with Foundation framework
Other changes:
- Handsontable core properties
colCount
,rowCount
do not exist anymore. UsecountRows()
andcountCols()
public methods instead
0.7.5 (Nov 26, 2012)
Features:
- new settings:
minRows
,minCols
,maxRows
,maxCols
(fixes #225) startRows
andstartCols
should now be only used to define how many empty rows should be created on grid initialization- now you can use
columns
to configure number of autocomplete items (fixes #242)
Bugfixes:
loadData
now will remove empty rows from grid if new data source has less rows- new rows are now correctly created when using nested object data source (#255)
- copy and paste issues with nested object data source (#250)
0.7.4 (Nov 19, 2012)
Bugfixes:
- fix error when pasting values to a grid with dataSchema (issue #237)
- loadData should remove empty row if source data has more empty rows than allowed by minSpareRows (issue #239)
- textarea dimensions were not updated if grid was rerendered while editing
0.7.3 (Nov 14, 2012)
Features:
- big news: build now contains full and minified JS and CSS packages. See dist/ directory for details.
- added experimental "Edit in jsFiddle" link in autocomplete example. If no issues are observed, I will add it to all example pages.
Bugfixes:
- fixed issue with setCellReadOnly that was reported on Stack Overflow.
- fixed performance issue with cells being rendered twice in
loadData
(issue #233)
0.7.2 (Nov 12, 2012)
Fixes exeption when editing cell in IE8 (issue #232) and problems when using Autocomplete with Ajax.
Added Ajax example on autocomplete.html
0.7.1 (Nov 9, 2012)
Mosty fixes for the Autocomplete feature as well as a new (easier) syntax for the Autocompelte. See autocomplete.html for examples. Old syntax should still work due to the legacy layer.
Features (described in README.md):
- new public method
destroyEditor
(#229).
0.7.0 (Nov 5, 2012)
Please note that this release has partial incompability with previous releases. It is step in a direction to make Handsontable more flexible and customisable.
Adds binding to object data source (prior versions only allow 2-dimensional array data source)
Adds selective column rendering (using columns
option)
Now data is assigned to Handsontable as reference (prior versions had data copied)
Adds custom cell types (currently text, autocomplete or checkbox)
Features removed:
- Legend (use cell renderers instead)
0.6.0 (Sep 27, 2012)
Please note that this release has partial incompability with previous releases, though it should affect only border cases.
Potential incompabilities with version 0.5.1:
- public method
getData
no longer hasasReference
parameter (usegetDataReference
instead) - to have scrollable grid, you must set "overflow: scroll" or "overflow: auto" directly on Handsontable container. Until now, it worked also when you set overflow scroll/auto on any of the container parents, but that turned out to be not compatible with Twitter Bootstrap
Features added in 0.6.0 (described in README.md):
- virtual scrolling that solves problem with row/column header flicker in IE and FF when the grids quickly scrolled
- public method
getData
now accepts optional arguments to return only fragment of grid data (e.g. current selection) - new public method
getDataReference
works the same asgetData
but returns data as reference, which is faster but can mess up if manipulated outside the plugin
Bugfixes:
- keyword
this
in onChange, onBeforeChange, onSelection callbacks points to container HTML element - editing a field in Firefox 3.6.28 skipped the first character
- added default font-family and font-size for .typeahead
- TAB does not move cell selection if cell is not being edited (#151)
- HTML special chars should be preserved in data map but escaped in DOM (#147)
- rowHeaders/colHeaders false should not init row/col headers (#141)
- legend icon did not resize column header
0.5.1 (Sep 7, 2012)
- features (described in README.md):
- allow icons in Legends (see example)
- new public method
refreshLegend
- new configuration option
outsideClickDeselects
- added data function reference in autocomplete match (
match: function (row, col, data)
)
- bugfix:
- option
fillHandle: 'horizontal'
and'vertical'
did not work
- option
0.5.0 (Aug 15, 2012)
- features (described in README.md):
- public methods
getDataAtCell
,setCellReadOnly
- thanks @Dinesh-Ramakrishnan - public methods
getSelected
- thanks @littley! - public methods
getRowHeader
,getColHeader
,getCellMeta
- configuration
autoWrapRow
,autoWrapCol
,enterBeginsEditing
- now Enter key behaves more like in Excel (see issue #56)
- public methods
- code quality:
- add
"use strict";
(ECMAScript strict mode) to all components - allow to run in jQuery noConflict mode
- namespace was changed from
handsontable
toHandsontable
to avoid var name conflicts that people were having by accident - now code is divided into components and built with Grunt
- add
- tests: added four Selenium IDE tests to automate testing of bugfixes. This is a start - more tests will be added in future versions. Tests are located in test/ directory.
- 75 bugfixes
0.4.2 (Jun 18, 2012)
- features:
- row and column headers (options:
rowHeaders
,colHeaders
) - public methods
selectCell
,deselectCell
- row and column headers (options:
0.4.1 (Jun 15, 2012)
- feature: public methods
setDataAtCell
,loadData
now have a new parameterallowHtml
that will omit escaping of HTML code
0.4.0 (Jun 04, 2012)
- first version number to be documented here
- feature: undo/redo