- support number formatting based on d3-format
- tweak textarea focus rule to prevent race condition in focus between multiple sheets
- fix bug: selection moving with arrow keys beyond top / left with frozen cells doesn't work correctly
- add
ctrl
(keycode 17) in the skip list when reacting to keyboard events.
- fix bug: keydown cause exception if selection is out of viewport after scrolled.
- call
focus
withpreventScroll: true
in render-selection to prevent scrolling from non-interaction update.
- skip cell copy/cut if we are editing in textarea to preserve content editing experience.
- add
enableScrolling
option for enabling scrolling which by default is true - upgrade dependencies
- tweak scroll controller speed
- add sample code for overscrolling
- bug fix: check
ccfg
existence before using it
- bug fix: sliders is covered by grid due to z-index issue
- bug fix: change isn't fired when editing
- simplify
opt.cellcfg
to_ccfg
- prevent readonly cells to be edited by paste, cut or delete
- add
papaparse
in demo page
- optionally disable pasting if
papaparse
is not available (not yet implemented TODO) - support slider with
slider
option to toggle it on - let
tab
key stroke move cursor one cell forward in x direction. - support shift + arrow key to extend selection.
- fix bug: IME composition isn't working at the first keystroke to enter editing mode.
- support
cellcfg()
for customizing cells withreadonly
andclass
type. - check
Papa
for existency before parsing CSV with papaparse.
- add sorting API
- support html parsing when HTML code is detected in paste event.
- correctly handle ctrl+
+
event for row/col insertion - prevent
enter
from sending newline to cell when it's used to toggle editing.
- fix bug: selection out of range isn't rendered correctly if current view is closer to origin point.
- support
menu.on
andmenu.off
event - fix bug: right click incorrectly considered as selection.
- add
insert
api
- cell lookup now doesn't throw exception if node not found. instead, null returned value is handled by caller
- fix bug: for narrow table, cell lookup of previous location may fail due to sheet move.
- trim class name.
- fix bug: exception when slice without selection
- upgrade dev modules and fix vulnerabilities
- add
slice
api
- add
select
api for set / get selection status - add test code for selection in demo page
- fix bug: selection should also be rendered when
render
is called.
- fix bug: selection issue in frozen cell
- fic bug: row/col based deletion doesn't work when range start out of canvas
- fix bug: selection out of canvas rendered incorrectly
- fix bug:
change
event should be fired for row-wise / col-wise deletion - fix bug:
change
event for range update should be fired in one batch
- support in-sheet cut / paste
- support row-wise / column-wise deletion by ctrl+
-
- separate
_to-text
function fromcopy
- parameterize
render-selection
for possibly future features such as multiple selection
- support shift-select a range
- support selection from idx cells
- support selection without boundary
- add
style
inpackage.json
- add
main
andbrowser
field inpackage.json
. - further minimize generated js file with mangling and compression
- upgrade modules
- patch test code to make it work with upgraded modules
- release with compact directory structure
- add
overscroll-behavior
over.sheet
- swipe back note in README.md
- support resizing after initialization
- support custom class names in cells
- make it possible to add node instead of pure text.
- fix bug:
0
wasn't shown when set cell content. fix this by checking!(textContent?)
instead of!(textContent)
.
- add
data(d)
api
- add
scrollLock
option for locking body scrolling to prevent swipe gesture.
- fix bug: escape should cancel editing.
- fix bug: caret position incorrect after pressing enter.
- fix bug: should re-focus after enter.
- fix bug: caret and range should not be hidden after edited.
- rename
update
event tochange
event. - check sheet focus before pasting data
- support copy tsv format text to clipboard. use
navigator.clipboard
, which doesn't support older browsers.
- fix selection issue across frozen cells
- fix column label issue (#1)
- fix bug: cell overflow should be hidden so content won't overflow and cover following cells if size is fixed.
- support sheet in shadow DOM mode
- add editing option / api for togglgin editability
- add size option
- tweak style for
.fixed.frozen
cell.
- re-focus sheet after selection moved to support quick editing
- remove outline of sheet to prevent unwanted focus style.
- tweak code for updating content
- add event handler
- fix bug of content updating issue when setting new data
- fire update event when data is changed.
- support range in
set
api.
- add
tabindex
in root element to make it possible to capture key events. - check some events for event source.
- tweak fixed cell style
- prevent fixed cell from being edited
- support fixed rows / columns, frozen rows / columns and idx cells toggling
- fix bug: edited failed if edited node is outside range of visible sheet.
init commit