[CLOSED] Problem with reload of root

  1. #1

    [CLOSED] Problem with reload of root

    Hi,

    I'm use TreePanel, TreeStore, AjaxProxy - Ext.NET.2.5.2.
    At start reload of child nodes work correctly - store.getNodeById(222).reload()
    When call store.getRootNode().reload() child nodes broken and store.getNodeById(222).reload() not work
    And I'm found problem in stores of child node. store.getNodeById(222).stores have 2 stores. When i call reload of root it order changed. And now i fix this on load of store handler:
    for (var i = 0; i < records.length; i++) {
            var tempStore = records[i].stores[0];
            if (tempStore.treeStore != null) {
                records[i].stores[0] = records[i].stores[1];
                records[i].stores[1] = tempStore;
                records[i].store = records[i].stores[0];
            }
        }
    after this reload work correctly
    Last edited by Daniil; Feb 17, 2015 at 11:33 AM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi @CSerX,

    Interesting. Thank you for the report and a workaround.

    Could you, please, provide a test case to reproduce the issue?

Similar Threads

  1. [CLOSED] Problem with store reload
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 21, 2014, 6:02 PM
  2. Problem with reload grid after inserting..
    By antoreegan in forum 2.x Help
    Replies: 0
    Last Post: Apr 22, 2013, 11:37 AM
  3. Retrieve treepanel's root after reload
    By whitvanilla in forum 1.x Help
    Replies: 0
    Last Post: Jun 04, 2009, 9:28 AM
  4. Store.reload() problem
    By Dgsoft.ru in forum 1.x Help
    Replies: 1
    Last Post: May 28, 2009, 2:14 PM
  5. Databind / Reload Store and GridPanel Problem
    By locoperoguapo in forum 1.x Help
    Replies: 5
    Last Post: Feb 10, 2009, 9:23 AM

Tags for this Thread

Posting Permissions