Thank you for reporting this bug. We will make it our priority to review this report.
  1. #381
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Huntsville
    Posts
    228
    Vote Rating
    -6
    mark0978 is infamous around these parts mark0978 is infamous around these parts

      0  

    Default


    Ext.selection.Model

    select
    ( Ext.data.Model[]/Number records, [Boolean keepExisting], [Boolean suppressEvent] )

    Selects a record instance by record instance or index.
    Parameters
    • records : Ext.data.Model[]/NumberAn array of records or an index
    • keepExisting : Boolean (optional)True to retain existing selections What is the default?
    • suppressEvent : Boolean (optional)Set to true to not fire a select event What is the default?

  2. #382
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Huntsville
    Posts
    228
    Vote Rating
    -6
    mark0978 is infamous around these parts mark0978 is infamous around these parts

      0  

    Default


    Ext.data.Store

    find
    ( String fieldName, String/RegExp value, [Number startIndex], [Boolean anyMatch], [Boolean caseSensitive], [Boolean exactMatch] ) : Number

    Finds the index of the first matching Record in this store by a specific field value.
    Parameters
    • fieldName : StringThe name of the Record field to test.
    • value : String/RegExpEither a string that the field value should begin with, or a RegExp to test against the field.
    • startIndex : Number (optional) Defaults to ??? 0?The index to start searching at
    • anyMatch : Boolean (optional) Defaults to ???True to match any part of the string, not just the beginning
    • caseSensitive : Boolean (optional)True for case sensitive comparison Defaults to ???
    • exactMatch : Boolean (optional)True to force exact match (^ and $ characters added to the regex). Defaults to false.
    Copy paste from the docs leaves a little to be desired don't you think?
    Last edited by mark0978; 1 Mar 2012 at 8:01 PM. Reason: final comment

  3. #383
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    215
    Vote Rating
    4
    colin.yates is on a distinguished road

      0  

    Default Conflicting reports about storeId

    Conflicting reports about storeId


    Details in http://www.sencha.com/forum/showthre...re-the-StoreId.

    Basically, setting the storeId doesn't always allow Ext.getStore to locate it again. Evant states (in the linked thread) that the Controller overrides the storeId.

    At the very least this should be documented in the Store and StoreManager documentation, although I question the point of the Controller overriding the storeId - very unintuitive.

  4. #384
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,311
    Vote Rating
    109
    LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light

      0  

    Default


    Ext.draw.CompositeSprite.animate


    This method contains a discussion how to animate an element or a component, but it is not too obvious how the provided example is applicable to animating sprite groups.

    An example including sprite animation would be helpful.

  5. #385
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Huntsville
    Posts
    228
    Vote Rating
    -6
    mark0978 is infamous around these parts mark0978 is infamous around these parts

      0  

    Default


    Ext.data.proxy.Proxy fails to list what you can "listen" for And there is no events drop down. The Generic doc does manage to mention things that don't apply though.

    listeners : Object
    A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the addListener example for attaching multiple handlers at once.
    DOM events from Ext JS Components
    While some Ext JS Component classes export selected DOM events (e.g. "click", "mouseover" etc), this is usually only done when extra value can be added. For example the DataView's itemclick event passing the node clicked on. To access DOM events directly from a child element of a Component, we need to specify the element option to identify the Component property to add a DOM listener to:

    newExt.panel.Panel({ width:400, height:200, dockedItems:[{ xtype:'toolbar'}], listeners:{ click:{ element:'el',//bind to the underlying el property on the panel fn:function(){ console.log('click el');}}, dblclick:{ element:'body',//bind to the underlying body property on the panel fn:function(){ console.log('dblclick body');}}}});

  6. #386
    Sencha User renku's Avatar
    Join Date
    Feb 2009
    Location
    Estonia
    Posts
    437
    Vote Rating
    17
    renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold

      0  

    Default


    Thanks for reporting. These issues have been fixed internally now, or noted otherwise.

  7. #387
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Huntsville
    Posts
    228
    Vote Rating
    -6
    mark0978 is infamous around these parts mark0978 is infamous around these parts

      0  

    Default


    Proxy fails to list timeout as a config option. That is the only way to get the timeout set on a datastore (that I have found) and I had to find it by debugging. Would have been nice if the docs had said it.

  8. #388
    Ext JS Premium Member devtig's Avatar
    Join Date
    Jan 2010
    Location
    Rotterdam, The Netherlands
    Posts
    389
    Vote Rating
    13
    devtig will become famous soon enough

      0  

    Default


    formBind config on buttons is not documented in the API docs. Also on the Sencha Designer 2, in the Component Config, the formBind property doesn't have the questionmark wih information on formBind.

  9. #389
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,311
    Vote Rating
    109
    LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light LesJ is a glorious beacon of light

      0  

    Default


    Use word prepend instead of attach. This would more accurately describe the new event name.

    Code:
    Ext.define('Ext.util.Observable', {
        ...
         * @param {String} [prefix] A common prefix to attach to the event names. For example:
         *
         *     this.relayEvents(this.getStore(), ['load', 'clear'], 'store');
         *
         * Now the grid will forward 'load' and 'clear' events of store as 'storeload' and 'storeclear'.
         */
        relayEvents : function(origin, events, prefix) {
            prefix = prefix || '';
            var me = this,
                len = events.length,
                i = 0,
                oldName,
                newName;
    
            for (; i < len; i++) {
                oldName = events[i];
                newName = prefix + oldName;
                me.events[newName] = me.events[newName] || true;
                origin.on(oldName, me.createRelayer(newName));
            }
        }

  10. #390
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default


    From AndreKR in the comments on gridpanel in the docs:

    The gridpanel conveniently forwards the allowDeselect config to its selection model. It should say so in the docs.
    word

Thread Participants: 168

  1. Lod (1 Post)
  2. mystix (3 Posts)
  3. Juanito (1 Post)
  4. GArrow (1 Post)
  5. adarsh_r_bhat (2 Posts)
  6. pbb72 (2 Posts)
  7. rex.staples (1 Post)
  8. rednix (1 Post)
  9. hendricd (1 Post)
  10. dogomatic (1 Post)
  11. richard.allen (1 Post)
  12. ValterBorges (4 Posts)
  13. cnelissen (1 Post)
  14. neshaug (1 Post)
  15. richardtallent (1 Post)
  16. Hemlock (2 Posts)
  17. pbienick (3 Posts)
  18. mankz (8 Posts)
  19. rstuart (1 Post)
  20. Ant1105 (1 Post)
  21. NOSLOW (1 Post)
  22. crysfel (1 Post)
  23. carl23934 (1 Post)
  24. zombeerose (19 Posts)
  25. Allwise (1 Post)
  26. themightychris (1 Post)
  27. SamuraiJack1 (1 Post)
  28. wildfire (1 Post)
  29. Qtx (4 Posts)
  30. wiznia (3 Posts)
  31. Greendrake (1 Post)
  32. charleshimmer (1 Post)
  33. chdig (1 Post)
  34. Jaitsu (1 Post)
  35. Dumas (1 Post)
  36. janhov (3 Posts)
  37. edspencer (7 Posts)
  38. firefoxSafari (1 Post)
  39. cstrong@arielpartners.com (1 Post)
  40. renku (75 Posts)
  41. westy (1 Post)
  42. slemmon (3 Posts)
  43. gevik (10 Posts)
  44. bodyboarder20 (4 Posts)
  45. ZachG (3 Posts)
  46. kleins (1 Post)
  47. campersau1 (5 Posts)
  48. 44gatti (1 Post)
  49. batweasel (1 Post)
  50. fguest (1 Post)
  51. drogers (1 Post)
  52. wsi (1 Post)
  53. ironandsteel (1 Post)
  54. McQuack_82 (1 Post)
  55. Uberdude (1 Post)
  56. hhangus (3 Posts)
  57. hexawing (4 Posts)
  58. chinabuffet (2 Posts)
  59. Ozone (2 Posts)
  60. tomb@ibcos.co.uk (5 Posts)
  61. olivierpons (1 Post)
  62. flanders (2 Posts)
  63. wufpack_jack (1 Post)
  64. devtig (1 Post)
  65. aghextjs (1 Post)
  66. WBX (1 Post)
  67. alonweiss (4 Posts)
  68. yakovsh (1 Post)
  69. gianmarco (3 Posts)
  70. halcwb (5 Posts)
  71. ykey (1 Post)
  72. korax (1 Post)
  73. zerkms (2 Posts)
  74. keithhackworth (2 Posts)
  75. eliotik (1 Post)
  76. h.wagner@telekom.de (1 Post)
  77. nosferatum (2 Posts)
  78. wbutler (1 Post)
  79. dancha (1 Post)
  80. Jan (HL) (2 Posts)
  81. touchy (1 Post)
  82. charris (2 Posts)
  83. Allan Stark (1 Post)
  84. vadimv (7 Posts)
  85. rhamflett (1 Post)
  86. Evantan (4 Posts)
  87. kent78 (1 Post)
  88. jhummel (1 Post)
  89. fishbone (1 Post)
  90. skirtle (35 Posts)
  91. LesJ (43 Posts)
  92. mangotang (2 Posts)
  93. Felicitus (1 Post)
  94. tiger.seo (3 Posts)
  95. clearbasis (1 Post)
  96. sreeser (1 Post)
  97. Rob Hogan (3 Posts)
  98. SebTardif (6 Posts)
  99. mberrie (4 Posts)
  100. rijkvanwel (1 Post)
  101. s.busch (1 Post)
  102. Nickname (4 Posts)
  103. dstarr@allofe.com (4 Posts)
  104. m4dc4p (1 Post)
  105. fdp (2 Posts)
  106. SommerEngineering (1 Post)
  107. mprogr (1 Post)
  108. Berzzzebub (2 Posts)
  109. Justin Noel (2 Posts)
  110. S├ębastien.Volle (2 Posts)
  111. sskow200 (1 Post)
  112. jobjo (1 Post)
  113. cadror (2 Posts)
  114. c089 (2 Posts)
  115. ligaard (29 Posts)
  116. neonova (2 Posts)
  117. jonathanmv (1 Post)
  118. nbabinski (4 Posts)
  119. Vasiliy Faronov (2 Posts)
  120. mrobinson (1 Post)
  121. ext-spring-mvc (1 Post)
  122. rexmpetersen (1 Post)
  123. BillHubbard (5 Posts)
  124. redraid (1 Post)
  125. Arshak (2 Posts)
  126. espeak (1 Post)
  127. Farish (2 Posts)
  128. nohuhu (1 Post)
  129. dwarf (1 Post)
  130. burnnat (12 Posts)
  131. don@electionmall.com (1 Post)
  132. sirtmp (1 Post)
  133. Jasel_ExtJS (1 Post)
  134. dusek (1 Post)
  135. bioinfo (1 Post)
  136. dpaquin (1 Post)
  137. nhoward (1 Post)
  138. Wilkins (1 Post)
  139. flatbugz (1 Post)
  140. tonyx (1 Post)
  141. eirik.lorentsen (1 Post)
  142. limscoder (1 Post)
  143. ExtJSNinjas (2 Posts)
  144. castitas (7 Posts)
  145. nealtao (1 Post)
  146. mark0978 (7 Posts)
  147. olecom (2 Posts)
  148. JimSoper (1 Post)
  149. hnordt (1 Post)
  150. WingC (2 Posts)
  151. cawoodm (1 Post)
  152. jchristen (1 Post)
  153. carrollecc (1 Post)
  154. p33t (5 Posts)
  155. user ext (1 Post)
  156. JeromeA (1 Post)
  157. mikfreeman (1 Post)
  158. DrewM (1 Post)
  159. Lascaux (1 Post)
  160. einartg (2 Posts)
  161. colin.yates (1 Post)
  162. atomcat (1 Post)
  163. Ghostly (2 Posts)
  164. bomslang (1 Post)
  165. wayne_x (1 Post)
  166. mpost (1 Post)
  167. jreusser (1 Post)
  168. ckerth (1 Post)