0

I created a sample of ExtJS tree grid. But the grid is showing only the root node. Please check this fiddle and let me know why the remaining nodes are not visible.

SharpCoder
  • 18,279
  • 43
  • 153
  • 249

1 Answers1

1

The problem is that you misspelled the property "children" (you have written "Children"). Correct that and you will see the children.

Also you might consider adding an ID for every node.

V G
  • 18,822
  • 6
  • 51
  • 89
  • Thank you Andrei for quick reply. Check this example (http://docs.sencha.com/extjs/4.1.1/#!/example/tree/check-tree.html ) , even this example does not have ID column. I have also updated the fiddle to include ID but even then I am not getting the desired result. – SharpCoder Dec 13 '13 at 13:48
  • WOW. That was fast. Changing Children to lower case helped. Thank you – SharpCoder Dec 13 '13 at 13:50
  • System gave me error message saying, you cannot accept answer in 5 minutes. I love this site :) – SharpCoder Dec 13 '13 at 13:53