Alexander Wunschik
b03c466d72
Revert "Timeline: options.editable to override item.editable"
8 years ago
yotamberk
51528bae5a
Tooltip on item update time ( #2247 )
* Add initial onChange item tooltip
* Add example and tooltipOnItemEdit template option
* Add docs and rename option
* Fix docs
* Fix example
* Change example's item types
* Fix point item tooltip
* Fix comments from PR and support bottom orientation properly
* Add semi-colon
8 years ago
Simon Morris
ecf1cad571
Removed redundant checks for item.editable in timeline ( #2256 )
@simo9000 Thanks!
8 years ago
yotamberk
dd324da2a2
Drag and drop support for the timeline ( #2238 )
* Add initial experiment
* Register drag and drop events
* Add initial drag and drop support
* Add drag and drop support for all types of objects
* Fix example
* Clean up code and add comments
* Fix example
* remove font awesome
* Fix example style
* Add meta tag to example and add selected when dropped
8 years ago
Yotam Berkowitz
4f105a3127
Fix templates
8 years ago
yotamberk
b889a5057d
Add a vertical scroll option for timeline [solves #273 , #1060 , #466 ] ( #2196 )
* Add initial scroller without options
* Add initial scroll without an option
* Add verticalScroll option
* Fix scrollbar positions
* Add docs
* fix example
* remove jquery dependency
* Fix example
* Fix review comments
8 years ago
RomanManz
d805427ae6
Small bugfix to prevent null pointer exception ( #2116 )
8 years ago
Iskander508
d37bcea02f
Added Timeline itemover, itemout events ( #2099 )
8 years ago
thomasbarone
67823f1a7f
Fix issue #1156 ( #1976 )
Add flag to check whether an item in the Itemset is currently being dragged
8 years ago
Yotam Berkowitz
885ebffbce
fix delete btn and remove console.logs
8 years ago
Yotam Berkowitz
eb445d6d84
fix stacking bug in rtl and css for rtl
8 years ago
Yotam Berkowitz
60d81a81e4
add events support for rtl
8 years ago
Yotam Berkowitz
a549ed2d19
add rtl of groups in timeline
8 years ago
jos
311ea1eef5
Fixed #1455 : allow vertical panning of the web page on touch devices
8 years ago
jos
717f1f148b
Moved `emit('_change'...)` from Timeline.setItems to ItemSet.setItems to be consistend with ItemSet.setGroups
8 years ago
Ludo Stellingwerff
f462072d46
Fixed #1592 : Emit a "changed" event after each redraw. Made "change" event private (by prefixing _).
9 years ago
jos
5faef9254f
Fixed #1127 : `doubleClick` event not being fired
9 years ago
jos
5fd3efceb2
Fixed #1491 : Problem using ctrl+drag in combination with using a `DataView`, and an issue with ctrl+drag when using `snap: null`
9 years ago
Liuqing Chen
5009adca92
Rename timeline option 'allDraggable' to 'itemsAlwaysDraggable' and update documentation
9 years ago
Liuqing Chen
5e1169eb88
add allDraggable option for timeline to support dragging unselected item
9 years ago
Martin Fischer
4b414646fa
renamed option from multiselectFiltersGroup to multiselectPerGroup,
added docs
9 years ago
Martin Fischer
46389aeae7
added option multiselectFiltersGroup
9 years ago
jos
637fc3fd87
Fixed `onMoving` not normalizing the dates again after callback
9 years ago
jos
bbbaeb48e0
Fixed #1215 : inconsistent types of properties `start` and `end` in callback functions `onMove`, `onMoving`, `onAdd`
9 years ago
Martin Fischer
2ca22025ea
fixed emitting groupDragged event in callback
9 years ago
Martin Fischer
1f4c9a4f46
added groupId to groupDragged event
9 years ago
Martin Fischer
584f266414
removed updating the groups in groupOrderSwap, started docs
9 years ago
Martin Fischer
5ea6411935
added event handlers for onAddGroup, onMoveGroup, onRemoveGroup
9 years ago
Martin Fischer
c2e7123037
removed unused option groupsDraggable
9 years ago
Martin Fischer
448411ee39
Dragging of Groups working now using a swap function
9 years ago
Martin Fischer
22822da008
group dragging works (on groups with same height) using a swap function
9 years ago
Martin Fischer
b68030a546
Group Dragging in Timeline
9 years ago
Fice
13bd407243
While dragging multiple items across groups, keep the group-offset.
9 years ago
jos
4fd843edd0
Fixed #1033 : Moved item data not updated in DataSet when using an asynchronous `onMove` handler
9 years ago
Alex de Mulder
1a3f63f187
fixed vertical dragging issue from hammer (which was found in network) in the timeline
9 years ago
Martin Fischer
6cf519175c
added templating for groups
9 years ago
bertolds
f43e935bef
Issues #275 , #363 - individual Timeline items editable or readonly
Timeline will check for the property 'editable' on individual items.
if editable === true
ignore timeline option 'editable'
allow item to be edited
else if editable === false
ignore timeline option 'editable'
do not allow item to be edited
else
use timeline option 'editable'
If two items are selected and one is not editable, only the editable
item is draggable.
This change required the css class .vis-editable be moved from the
item set to the individual item containers to maintain proper styling.
9 years ago
jos
7a417337c9
Fixed #923 : Added a property `event` to the properties emitted with the `select` event
9 years ago
jos
626d4b9b8b
Fixed #877 : Added support for metaKey to select multiple items.
9 years ago
jos
09bc7d0993
Call event.stopPropagation() before adding or removing items (see #577 )
9 years ago
jos
03d0e258c6
Fixed #872 : error about deprecated function `unsubscribe`
9 years ago
Alex de Mulder
c2b07f0201
fixed #858
9 years ago
jos
7f01183c4d
Fixed #831 : items losing selection when their type changed.
9 years ago
jos
f26c4ea0aa
Fixed #841 : messing up clientY and pageY in event handling
9 years ago
jos
f30a3a4556
Integrated an option configurator
9 years ago
jos
ce29f5059f
Implemented option `multiselect`, which is false by default
9 years ago
jos
cf8c299d11
Removed the option `padding` for Timeline, is now redundant (can be done purely with css now)
9 years ago
jos
2d8604b8ee
Some fixes in Timeline after merging develop
9 years ago
jos
28f8367f11
Fixed the touch and release events being fired twice each time. Fixed a bug with dragging in the InteractionHandler
9 years ago
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in Graph2d)
9 years ago