Results 1 to 4 of 4

Thread: Json array from treepanel

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    55
    Answers
    2

    Default Json array from treepanel

    Hi,

    How to create json array from treepanel?

    Thanks

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default

    The method to do that is new to 4.2:
    http://docs.sencha.com/ext-js/4-2/#!...thod-serialize

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    55
    Answers
    2

    Default

    Hi Thanks ,

    how can i implement this? can you please give one example?

    Thanks in Advance

  4. #4
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default

    Actually, it looks like there is a bug in the 4.2 code for serialize(). A fix should be in the works now.

    For future reference, you should be able to serialize a tree record/node using something like:

    Code:
    treepanel.getRootNode().serialize();

Posting Permissions

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