I apologize for the lack of clarity.
Basically what I'm looking for is to on the get_selected call:
[o] root
[o] item 1
[x] subitem1
[ ] subitem2
[ ] item 2
where:
x = checked
0 = undetermined
I want to return all results that are checked OR undetermined (x OR o).
on my call of get_selected, I am only getting the id of subitem1, where I would like the id's of subitem1, item1, and root.