PDA

View Full Version : TreePanel Node Text



senchashiva
19 Aug 2011, 11:19 PM
Hello,

I'm using store to bind to my tree Panel. I'm defining fields as id, name and my tree is rendering correctly but text of all nodes is being rendered as undefined. Could anybody let me know where exactly store values get mapped to node's text property and where can I debug to see it.

Regards,
Shiva

senchashiva
20 Aug 2011, 1:33 AM
Hello All,

As I'm new to ExtJS I was bit in hurry to post this in forums. I found the resolution.

displayField configuration option is used to bind the text to field value.

Thanks,
Shiva