View Full Version : How to set text and checked state for ExtJS 4.2.2 tree panel tree column?

10 Nov 2014, 9:52 AM
We are using an ExtJS 4.2.2 tree panel that has a tree column.

The tree column has a dataIndex config, but from the data I need to set both the text of the node and also the node checkbox state (checked or unchecked).

In this case, would I use the dataIndex for the text, and then process the data to set the checked state manually?

11 Nov 2014, 12:47 PM
Can anyone provide insight on this?

12 Nov 2014, 11:35 AM
Hi xjscrafter--

Are you adding a checkbox column, or using checked: true/false in your store's data to create the checkboxes?