diff --git a/docs/dataset.html b/docs/dataset.html index 1110bdbf..c2ebb60e 100644 --- a/docs/dataset.html +++ b/docs/dataset.html @@ -183,7 +183,7 @@ var data = new vis.DataSet([data] [, options]) add(data [, senderId]) Number[] - Add data to the DataSet. Adding an item will fail when there already is an item with the same id. The function returns an array with the ids of the added items. See section Data Manipulation. + Add one or multiple items to the DataSet. data can be a single item or an array with items. Adding an item will fail when there already is an item with the same id. The function returns an array with the ids of the added items. See section Data Manipulation. @@ -290,18 +290,17 @@ var data = new vis.DataSet([data] [, options]) Number[] - Remove on ore multiple items by id or by the items themselves. Returns an array with the ids of the removed items. See section Data Manipulation. + Remove one or multiple items by id or by the items themselves. Returns an array with the ids of the removed items. See section Data Manipulation. - update(id [, senderId])
- update(ids [, senderId]) + update(data [, senderId]) Number[] - Update on ore existing items. When an item doesn't exist, it will be created. Returns an array with the ids of the removed items. See section Data Manipulation. + Update on ore multiple existing items. data can be a single item or an array with items. When an item doesn't exist, it will be created. Returns an array with the ids of the removed items. See section Data Manipulation.