You found a bug! We've classified it as a bug in our system. We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #111
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    377
    Vote Rating
    29
    danguba will become famous soon enough danguba will become famous soon enough

      0  

    Default


    I hope this can come in handy. If somebody have already posted it I apologize

    I just started to migrate our app to ext 4. And I needed to change all Ext.Extend to new way of defining classes with Ext.Define

    So if you used
    Code:
    MyApp.ClassName = Ext.extend(SomeOtherClass, {
        ...
    });
    
    Ext.reg('classxtype', MyApp.ClassName);
    to define your classes, here is convenient regex to change it to
    Code:
    Ext.define('MyApp.ClassName', {
        extend: 'SomeOtherClass',
        alias: 'classxtype',
        ...
    });
    Find:
    Code:
    ([\w.]*) = Ext.extend\(([\w.]*), \{([\p{InBasic_Latin}]+)Ext.reg\(('[\w.]*'), [\w.]*\);
    Replace:
    Code:
    Ext.define('$1', {extend: '$2', alias: $4, $3
    Last edited by danguba; 10 May 2011 at 6:38 AM. Reason: fixed regex
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  2. #112
    Sencha User pcr's Avatar
    Join Date
    Jun 2009
    Posts
    183
    Vote Rating
    2
    pcr is on a distinguished road

      0  

    Default Desktop files @dongryphon

    Desktop files @dongryphon


    Hi Don,

    I'm curious about what is in the very first define in the minified classes (desktop). I can't find that unminified.
    It's called Ext.define("Ext.util.Observable")

  3. #113
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    377
    Vote Rating
    29
    danguba will become famous soon enough danguba will become famous soon enough

      0  

    Default


    Quote Originally Posted by pcr View Post
    Hi Don,

    I'm curious about what is in the very first define in the minified classes (desktop). I can't find that unminified.
    It's called Ext.define("Ext.util.Observable")
    I'm sorry but I'm not sure I understand what are you trying to ask
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  4. #114
    Sencha User pcr's Avatar
    Join Date
    Jun 2009
    Posts
    183
    Vote Rating
    2
    pcr is on a distinguished road

      0  

    Default


    @danguba,
    Message #117 was a reply to message #107 from @dongryphon

  5. #115
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    377
    Vote Rating
    29
    danguba will become famous soon enough danguba will become famous soon enough

      0  

    Default


    Quote Originally Posted by pcr View Post
    @danguba,
    Message #117 was a reply to message #107 from @dongryphon
    LOL! Sorry for that mate
    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding

  6. #116
    Sencha User pcr's Avatar
    Join Date
    Jun 2009
    Posts
    183
    Vote Rating
    2
    pcr is on a distinguished road

      0  

    Default


    Ah, it's a bit confusing a multiple threat threat like this, na?

  7. #117
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
    freeranger is on a distinguished road

      0  

    Default


    Hi,

    any thoughts anyone? thanks

    Quote Originally Posted by freeranger View Post
    hi,

    Thanks for the reply.

    There is no editable property on the Column - or if there is, the documentation makes no mention of one.?

    I need to loop around all the rows and columns in a grid and if the fields are editable, I want to validate them. The methods I was using took row and col params.
    How can I translate this into the v4 way of doing things, where getEditor takes a record and a default field? I have to say, I am really struggling with converting to v4 - the migration guide seems rather...lacking, so it's only by hunting around and guessing and trying things out that I'm making any progress

    thanks

  8. #118
    Sencha User
    Join Date
    Dec 2008
    Location
    Manchester, UK
    Posts
    112
    Vote Rating
    8
    LisburnLad will become famous soon enough

      0  

    Default Is there some tree functionality still to be added?

    Is there some tree functionality still to be added?


    I haven't got any further trying to solve my problem of setting a tree node's CSS when the tree's associated TreeStore loads (see post #113).

    Originally I thought this was just because the documentation was not yet complete - the main tree documentation has quite a few sections missing, doing a search for 'node' or 'treenode' in the API documentation doesn't really return anything useful, and the example that set the icons from an XML file in version 3 doesn't set the icons for the same example in version 4.

    I'm now starting to wonder if there are still components of the tree functionality to be added? This view would be backed up by Saki's post in this thread where he suggests that the tree editor has not yet been added. If this is the case, it would be useful to know which bits of functionality, that were present in version 3, are still to be added into version 4.

    Thanks,
    Steve

  9. #119
    Ext Premium Member yyogev's Avatar
    Join Date
    Jun 2009
    Location
    Shoham, Israel
    Posts
    196
    Vote Rating
    6
    yyogev is on a distinguished road

      0  

    Default


    I found the the rowSelectionModel event "beforeRowSelect" has no successor in Ext 4 Ext.selection.rowModel. This was done by debugging, as the promised grid migration guide is nowhere to be found. I could not find any reference to this on this thread or anywhere else.
    After some trying I was able to use beforeitemclick.

    The current migration guide starts nicely telling you to do this and that, and then suddenly you're left alone to fight it out with Firebug. This is way too time consuming. I'd much rather have a full conversion guide.
    Yaron Yogev

    IT Software Developer

  10. #120
    Ext Premium Member yyogev's Avatar
    Join Date
    Jun 2009
    Location
    Shoham, Israel
    Posts
    196
    Vote Rating
    6
    yyogev is on a distinguished road

      0  

    Default


    I get a the following message in the console:
    [DEPRECATED][4.0][Ext.form.field.ComboBox] shadow (config): Use listConfig.shadow instead.

    I do not use the shadow config anywhere in my code. Looking in Firebug I saw that it is set to 'sides', and it gets this value from Ext.util.Floating.
    Yaron Yogev

    IT Software Developer

Similar Threads

  1. Migration to 3.0
    By tillda in forum Community Discussion
    Replies: 5
    Last Post: 17 Aug 2009, 7:19 AM
  2. Migration to 2.0
    By scaswell1 in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 7 Jul 2009, 9:56 PM
  3. migration 1.0 to 3.0
    By alien3d in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 1 Jun 2009, 5:38 AM
  4. Migration GXT 1.2.4 to 2.0
    By G.edwin in forum Ext GWT: Help & Discussion (1.x)
    Replies: 2
    Last Post: 15 May 2009, 6:26 AM

Thread Participants: 110

  1. aconran (1 Post)
  2. mystix (1 Post)
  3. ap (2 Posts)
  4. evant (1 Post)
  5. ethraza (1 Post)
  6. steffenk (5 Posts)
  7. brookd (4 Posts)
  8. dherbolt (2 Posts)
  9. tore.kjorsvik (1 Post)
  10. wm003 (2 Posts)
  11. stevil (4 Posts)
  12. vlads (3 Posts)
  13. paubach (1 Post)
  14. BuckBazooka (1 Post)
  15. dbraiden (1 Post)
  16. mjhaston (1 Post)
  17. demon222 (1 Post)
  18. SToto98 (1 Post)
  19. rebe (1 Post)
  20. zombeerose (6 Posts)
  21. rich02818 (3 Posts)
  22. sg707 (3 Posts)
  23. vpopa (1 Post)
  24. hschaefer123 (3 Posts)
  25. jchau (1 Post)
  26. chrisvensko (1 Post)
  27. DannyMeister (3 Posts)
  28. dajester2008 (1 Post)
  29. mschwartz (4 Posts)
  30. wgpubs (4 Posts)
  31. LisburnLad (2 Posts)
  32. edspencer (3 Posts)
  33. firefoxSafari (9 Posts)
  34. Luckyman (3 Posts)
  35. oniram88 (1 Post)
  36. danguba (7 Posts)
  37. cnesbit (2 Posts)
  38. Jangla (1 Post)
  39. MuadDib-DK (1 Post)
  40. abctenorio@gmail.com (1 Post)
  41. uzver (3 Posts)
  42. zhangt (2 Posts)
  43. peet (3 Posts)
  44. ZachG (3 Posts)
  45. yyogev (7 Posts)
  46. pcr (4 Posts)
  47. 大漠穷秋 (1 Post)
  48. jacurry (4 Posts)
  49. excyberlabber (6 Posts)
  50. dongryphon (3 Posts)
  51. Henrik Rutzou (1 Post)
  52. hazimdikenli (1 Post)
  53. paparent85 (1 Post)
  54. Ekambos (3 Posts)
  55. burnie (1 Post)
  56. aaronbartell (1 Post)
  57. mattgoldspink (1 Post)
  58. dbrin (1 Post)
  59. CraigMyers (1 Post)
  60. Francois Lecroart (5 Posts)
  61. BulletzBill (1 Post)
  62. tumbochka (1 Post)
  63. a.l (2 Posts)
  64. c.darmon (8 Posts)
  65. Dipish (1 Post)
  66. blex2010 (2 Posts)
  67. kpalser (1 Post)
  68. ldonofrio (2 Posts)
  69. DHainzl (6 Posts)
  70. MrSparks (2 Posts)
  71. rebeccapeltz (1 Post)
  72. Jeremy Solarz (1 Post)
  73. RLBruggers (2 Posts)
  74. Ourysso (1 Post)
  75. jjohnston (1 Post)
  76. ShaneMc (9 Posts)
  77. msmolyak (1 Post)
  78. watermark (1 Post)
  79. lukefowell89 (3 Posts)
  80. winkelmann (1 Post)
  81. willjohnathan (1 Post)
  82. cayenne_08 (1 Post)
  83. SebTardif (3 Posts)
  84. mberrie (3 Posts)
  85. rijkvanwel (1 Post)
  86. george4voc (1 Post)
  87. Jehu (2 Posts)
  88. freeranger (4 Posts)
  89. Inoc (1 Post)
  90. eCoast (1 Post)
  91. dstarr@allofe.com (3 Posts)
  92. bee (2 Posts)
  93. /mbr (3 Posts)
  94. ptraczynski (1 Post)
  95. qqjianyue (1 Post)
  96. jmf10024 (1 Post)
  97. Reggae (2 Posts)
  98. wimh (1 Post)
  99. jas88 (1 Post)
  100. Roho (1 Post)
  101. lokisapocalypse (1 Post)
  102. ovillemain (1 Post)
  103. Flashmattic (2 Posts)
  104. testnina123 (1 Post)
  105. jlimaye (2 Posts)
  106. rivanov (1 Post)
  107. usha.basavaraju (1 Post)
  108. rageshp_moxie (2 Posts)
  109. er_abhisinha (1 Post)
  110. darkwata (2 Posts)