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
    88
    Vote Rating
    8
    HyGy is on a distinguished road

      0  

    Default 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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    135
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      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

Thread Participants: 1

Tags for this Thread