I load a Tree from a Json File.
Then I checked a Node starts a listener Function "checkchange". I want to change the cls attribut from the node in this function (change the color for example). Then the tree show automatically the new Color from the Node. I tried a lot but the tree show not the changes.
The tree node adds a default class 'x-tree-checked' upon the tree node is checked, so just define your css style. Try this:
.x-tree-checked {
text-decoration: line-through;
color: red;
}