I am trying to deselect items in a dxTreeView when a button is clicked.
Because dxTreeView doesn't have a clearSelection() method like dxDataGrid , i tried to use option() method to set a empty array to the selectedItems configuration like this "option('selectedItems', []) " and then to use the repaint() method.
I receive the following error when call the repaint() method:
Uncaught Error: E0009 - Component 'dxCheckBox' has not been initialized for an element. See:
http://js.devexpress.com/error/14_2/E0009
What other alternative i have to clear the selection of the dxTreeView ?