At http://docs.webix.com/samples/17_datatree/03_styles/05_custom_icons.html, clicking any element makes it look white/invisible.
Fixed.
Custom template must contain <span>
tag around the text element of tree item for correct styling of selection.
OK, so it’s a bug in that sample?
Yep, it was a bug.
Sample was updated by the way.
Works great now. Thanks!