I am trying to change selection mode on button click. This code works for grid, but not for TreeList.
if
(that.treelist.options.selectable !==
"multiple, row"
)
{
that.treelist.setOptions({ selectable:
"multiple, row"
});
that.dataSource.read();
}
that.treelist.options.selectable is changed, but behaviour in treelist is not.