I’ve noticed that getAllChecked function returns NULL (just two delimiter characters in a row) for all unselected root nodes.
For example, if there’s a tree with root nodes A, B, C, D, E, F, G, and H, with only A and E checked, getAllChecked will return: A,E,. In order for me to properly use this, I have to regex them out: getAllChecked().replace(/,+/g,‘,’).replace(/,+$/g,‘’).
This is known behaviour, but unfortunately it can be changed. The “,” can be returned if you use smartXMLParsing and getAllChecked is applied for unparsed branch.
This is known behaviour, but unfortunately it can be changed.
Did you meant “can’t” be changed?
The “,” can be returned if you use smartXMLParsing and getAllChecked is applied
for unparsed branch.
Sorry, but I don’t understand this. What do you mean by “The “,” can be returned”?