Hi,
I have a jqxTree with checkboxes: true.
and the list
<ul> <li value="FR42">Alsace</li> <li value="FR61">Aquitaine</li> <li value="FR72">Auvergne</li></ul>
I use items = $(‘#jqxTree’).jqxTree(‘getCheckedItems’); to get the checked item
The documentation describe the items fields :
label – gets item’s label.
value – gets the item’s value.
When I try to read the labels (eg item[0].label) it is OK. I have Alsace or Aquitaine or Auvergne.
But when I try to get the value, (eg item[0].value) it is always null.
(confirmed when using microsoft javascript debugger)
My question : how to set the value for items in a jqxTree ?
Many thanks