Return an array with the ids of the selected nodes.
Examples
Sample
<button id="btnShowSelection" class="gj-button-md">Show Selections</button>
<br/>
<div id="tree" data-source="/Locations/Get"></div>
<script>
var tree = $('#tree').tree({
selectionType: 'multiple'
});
$('#btnShowSelection').on('click', function () {
var selections = tree.getSelections();
selections && selections.length && alert(selections.join());
});
</script>