Hi
is there a way to make the getRecordsHierarchy work with non-sequential Ids?
My data contains records with “holes” due to records being deleted at one point.
In the code snippet below, the item.id is an ordinal entry in the array, so it of course does not work with non-sequential ids
$('#jqxTree').on('select', function (event) {
var args = event.args;
var item = $('#jqxTree').jqxTree('getItem', args.element);
var label = item.label;
var value = item.value;
var type = dataAdapter.records[item.id].type;
$("#log").html("<strong>Type:</strong> " + type + ", <strong>Name:</strong> " + label + ", <strong>path:</strong> " + value);
});
thanks
Peter Sloth