Results 1 to 3 of 3

Thread: Extjs Tree Grid using Ext.ux.tree.TreeGrid

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    India
    Posts
    12
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Location
    India
    Posts
    12
    Vote Rating
    0
      0  

    Default

    Thanks,It's working fine now.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •