Results 1 to 5 of 5

Thread: url in proxy of a treestore

  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    9
    Answers
    1

    Default Answered: url in proxy of a treestore

    i have a grid of items and i want to show a treegrid when a item is double clicked. So the url of the treestore should be: http://.../treegrid/item_id. I want to define the Proxy of treestore in a double_click_controller which responds the double_click_event of items. But it seems that the url must be defined when the treestore or treegrid is defined. can someone help?

    i would really appreciate any tip, thanks.
    aaron

  2. reason is found. it is a bug in 4.0.7 and just update to 4.1.

  3. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,388
    Answers
    3997

    Default

    It is best to have the url defined up front and then handle the request server side.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    9
    Answers
    1

    Default

    thanks, mitchellsimoens. but can you tell me more details. i can set the url with "http://../treeStore/withoutID", that's no problem. but i can not add records into the treestore (in Controller with ajax.request), because treestroe has not add() mothod. if i try to rewrite the url , i will have "url is undefined"

  5. #4
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    9
    Answers
    1

    Default

    additional info : i use the version of 4.0.7
    should i update to 4.1, or it dosen't help?

  6. #5
    Ext JS Premium Member
    Join Date
    Sep 2011
    Posts
    9
    Answers
    1

    Default

    reason is found. it is a bug in 4.0.7 and just update to 4.1.

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
  •