1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    India
    Posts
    12
    Vote Rating
    0
    Rahul.Kohli88 is on a distinguished road

      0  

    Default Extjs Tree Grid using Ext.ux.tree.TreeGrid

    Extjs Tree Grid using Ext.ux.tree.TreeGrid


    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.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    872
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You can add a node to your root node and style it the way you want to to say there are no results.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Location
    India
    Posts
    12
    Vote Rating
    0
    Rahul.Kohli88 is on a distinguished road

      0  

    Default


    Thanks,It's working fine now.