PDA

View Full Version : Checkbox Selection in a TreePanel



anderson.resendes
4 Oct 2011, 5:03 AM
Hello

I'm studying the example to put checkbox in a treepanel, but I didnīt understand. Itīs like a normal treepanel.

Where in the example is defined that the tree will have checkbox?

http://dev.sencha.com/deploy/ext-4.0.0/examples/tree/check-tree.js

arthurakay
4 Oct 2011, 5:51 AM
That example calls a dummy JSON value to populate the tree.
- http://dev.sencha.com/deploy/ext-4.0.0/examples/tree/check-nodes.json

Notice the "checked" property of the child nodes. That's how.