PDA

View Full Version : Extjs Tree Grid using Ext.ux.tree.TreeGrid



Rahul.Kohli88
23 Jan 2012, 7:06 AM
I am using 'Ext.ux.tree.TreeGrid' and creating new tree grid for my application.
But,I facing a problem to show an empty message for this tree grid.
I wanna to show a message to user if 'Loader' doesn't return any value for tree,then it show a message that
'This product doesn't have any value '.

But,Tree grid doesn't have any config property for it.
Also,I'm not able to get Loader size.[For Loader I'm using 'Ext.tree.TreeLoader' and we get data from JSON]

Please,Suggest me how to show a message if JSON doesn't have any value.

mitchellsimoens
23 Jan 2012, 9:49 AM
You can add a node to your root node and style it the way you want to to say there are no results.

Rahul.Kohli88
6 Feb 2012, 3:20 AM
Thanks,It's working fine now. :)