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. #11
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    326
    Vote Rating
    48
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Quote Originally Posted by sg707 View Post
    I tried to use Spket and didn't seem to work... ah well... For now, I'm using Aptana w/ ExtJS plugin provided by the community... it's fairly good but it's missing many API. It does not use jsb2 file for that though....

    Can someone please respond?? If I can make JavaScript coding less painful, you'll be my hero of the day.
    Sorry, I really didn't mean to hijack this thread with IDE talk - I was really just interested in whether the .jsb file would be in 4, and that's been answered. I can tell you that Spket works great for me for 2 and 3, though there are some gotchas - having to setup a JavaScript profile and set the default JS editor to be Spket, for example. Maybe someone could make another IDE thread? If you have specific Spket issues with 2-3, I can probably assist.

  2. #12
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by firefoxSafari View Post
    Maybe someone could make another IDE thread?
    Thank you, I was just about to suggest the same thing. While this is important to some folks, it's not really pertinent to migrating code from Ext 3 to 4.

  3. #13
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    143
    Vote Rating
    0
    sg707 is on a distinguished road

      0  

    Default


    Cool~ I've created separate thread on

    http://www.sencha.com/forum/showthre...117#post572117

  4. #14
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    326
    Vote Rating
    48
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Here's an issue I have with grids. My users generally want wrapping similar to a raw html table. The solution to this is well documented in the Grid FAQ for Ext 3.

    Code:
    <style type="text/css"> .x-grid3-cell-inner, .x-grid3-hd-inner { white-space:normal !important; } </style>
    It seems that grid css has changed. To get cells to wrap I can use x-grid-cell-inner instead. I do have apps where it was useful to have the headers wrap, though. Is there any way to achieve this in 4? I was hoping I could change x-column-header-inner, but this didn't appear to work.

  5. #15
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    326
    Vote Rating
    48
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    I have a suggestion for the migration guide. IMHO the faqs are one of the most useful resources on this site. They should be where everyone looks first for answers. Eventually someone should go though these item by item to see if the workarounds etc listed in them still apply to 4 and document this knowledge.

  6. #16
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    I assume that you're referring to these FAQ's? I'm not sure how much of that would be directly applicable to migrating from 3 to 4, but I'll keep that in mind as we're documenting the migration guide.

  7. #17
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    326
    Vote Rating
    48
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    Yes, those were the faqs I meant - thanks for considering them. My point is that they contain many solutions to common tasks and if these solutions have changed in 4, then we need to know.

    I found another cosmetic gotcha with GridPanel. In the past, you could specify stripeRows as a config option on the GridPanel itself. This has been moved explicitly to the viewConfig with 4 so you have to do something like

    Code:
     
          var grid1 = new Ext.grid.GridPanel({
              ...,
              viewConfig: {
                  stripeRows: true
              },
              renderTo: Ext.getBody()
          });
    Also, the style for alternate rows appears to have changed from x-grid3-row-alt to simply x-grid-row-alt. People need to be aware of this if they were overriding the style for alt rows.

  8. #18
    Sencha Premium Member
    Join Date
    Jan 2009
    Posts
    326
    Vote Rating
    48
    firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough firefoxSafari is a jewel in the rough

      0  

    Default


    And making text in a grid selectable has changed as well.

    Code:
    <style type="text/css"> .x-selectable, .x-selectable * { -moz-user-select: text!important; -khtml-user-select: text!important; } </style>
    <scripttype="text/javascript"> <script type="text/javascript"> Ext.grid.TableChunker.metaRowTpl = [ '<tr class="' + Ext.baseCSSPrefix + 'grid-row {[this.embedRowCls()]}">', '<tpl for="columns">', '<td class="' + Ext.baseCSSPrefix + 'grid-cell ' + Ext.baseCSSPrefix + 'grid-cell-{id} {{id}-modified} {{id}-tdCls}" {{id}-tdAttr}><div class="' + Ext.baseCSSPrefix + 'grid-cell-inner ' + Ext.baseCSSPrefix + 'selectable" style="{{id}-style}; text-align: {align};">{{id}}</div></td>', '</tpl>', '</tr>' ]; Ext.grid.View.override({ cls: Ext.baseCSSPrefix + 'grid-view ' + Ext.baseCSSPrefix + 'selectable' });
    </script>

  9. #19
    Ext JS Premium Member
    Join Date
    Mar 2009
    Posts
    47
    Vote Rating
    1
    uzver is on a distinguished road

      0  

    Default


    Last 2 days we tried to migrate from ext3 to ext4 and found several issues(or changes without any documentation in ext4 docs):
    1) We can't find any config property for buttonAlign for buttons section for Form/Panel. Now this buttons section transform to special toolbar (fbar) and we can't find how to get this buttons after create panel/form.
    2) GridPanel's hideHeaders isn't work. How to hide grid columns headers?
    3) UI rendering very slow. Some operations such as hide/show form in rich layout may take 1 second and high load google chrome (but in ext3 this operations work ok).

    Also in the Ext4 api docs many inline links have wrong path (link to local server localhost:3000 e.g. http://dev.sencha.com/deploy/ext-4.0...e.Element.html Ext.Fx link).

  10. #20
    Sencha User demon222's Avatar
    Join Date
    Jan 2008
    Location
    Poland, Warsaw
    Posts
    134
    Vote Rating
    4
    demon222 is on a distinguished road

      0  

    Default


    exactly, agree with the uzver. I spent a few hours of migration is extjs3 extjs4. First of all documentation - not all work, many lack the komponetów mention of plugins. In general, rework my 150 units at this state of things - it's a massacre! So think first wait for ExtJS 3.3.2 - potemna final version 4.1 and can be taken up for anything.

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)