Hi!
Before I initialize my Tree widget, I “decorate” each item with some custom-data that I need later in code (for example, the item’s “id”. This was working fine, even the update, till I try to remove an item.
I use the following typical code to remove the selected item:
...var item = $('#Tree').jqxTree('getSelectedItem');$('#tree').jqxTree('removeItem', item);...
The problem is that the item is not fully removed. It remains in the tree, but the label is renamed to oneof these custom attributes I’ve added – id.
Do you have some idea about this?
Is there some better way to attach some data to each tree item?
Thank you,
Aleks.