Migration to Newer Versions

6.3 -> 6.4

1) In v6.4 some methods, properties and events of the Combobox API have been renamed. The new names bring more clarity and precisely describe the actual functionality.

Up to version 6.3From version 6.4
Methods
dataview.edit()dataview.editItem()
Events
dataview.events.on("ContextMenu", function(){})dataview.events.on("itemRightClick", function(){})
Properties
editingeditable

2) The multiselectionMode property is deprecated. Starting from the version 6.4 , it is possible to set the mode of selection of multiple items using the multiselection property of DataView.

6.2 -> 6.3

The following API methods have been deprecated: getFocusIndex(), setFocusIndex(). These methods are still available but not recommended for use.

Instead of using the getFocusIndex() method, you can get the index of an item in focus as follows:

var id = dataview.getFocus();
var index = dataview.data.getIndex(id);

But we recommended you to use the corresponding getFocus()/setFocus() methods for getting the id of an item in focus and setting focus to an item by its id:

dataview.getFocus(); // -> "item_id"
 
dataview.setFocus("item_id");
Back to top