There's a place in the system today that needs a feature. Click on a button to remove the checkbox before the tree node to a state that has no selection. Online search for half a day, and then check their own API, and finally found a solution, the following method posted.
The processing methods in the extjs3.x and 4.x versions are different and can be done in the 3.x version:
Copy Code code as follows:
Node.attributes.checked=false;
Node.getui (). Togglecheck (false);
This allows you to cancel the check state of the node and remove the tick on the page.
The methods in EXTJS4 are as follows:
Copy Code code as follows:
Node.raw.checked=false;
Node.set ("Checked", false);
This also can achieve the effect!
Practice the truth, the problem is not afraid of difficulties, do not retreat, will always be resolved.
Bao Jianfeng from sharpening out, plum blossom incense from the bitter cold.
If you think that reading this blog is a little rewarding for you, click the "Recommend" button in the lower right corner.
If you'd like to find my new blog more easily, you might want to focus on it or share it.