Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Sep 2009
    Posts
    62
    Vote Rating
    0
    HyGy is on a distinguished road

      0  

    Default adding an Ext.data.TreeStore, root property converted to string when a variable added

    adding an Ext.data.TreeStore, root property converted to string when a variable added


    REQUIRED INFORMATION

    Architect Build tested:
    • Build: 676
    Project Type:
    • ExtJS 4.1.x
    Description:
    • When adding a root property to tree store, and one parameter is a variable, it converts to a string.
    Steps to reproduce the problem:
    • drop a tree store to stores
    • edit root property

    • {
      expanded: true,
      children: variableName
      }
    The result that was expected:
    • set the children from an external variable or internal/external function call
    The result that occurs instead:
    • architect converts the object to a string: root: '{\r\n expanded: true,\r\n children: variableName\r\n}',
    Operating System:
    • Windows 7

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    The property grid does not support JavaScript Expressions.

    The 2.2 release will have features to make this easier via processConfigs or setting it up via initialize.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Tags for this Thread