1. #1
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Vote Rating
    mystix will become famous soon enough mystix will become famous soon enough


    Default Documentation Bugs - Ext 2.x

    This thread is solely for reporting bugs in the Ext 2.x documentation. (currently available here)

    Some things to note
    • post only documentation bugs
    • always CTRL+F BEFORE posting
    • i will regularly update the list below to reflect all verified doc issues reported in this thread
    • where possible, i will include a [link] to the original post / a place in the docs where the problem is evident
    • you might also want to take a look at this thread before posting

    Ext Documentation Team members:
    please mark all resolved issues with a strikethrough using the [s][/s] tags. thanks.

  2. #2
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Vote Rating
    mystix will become famous soon enough mystix will become famous soon enough



    All Classes
    • "The online version of ext2.0a1 does not have a src/ folder. All links to the source code are redirected to the front page." [link]

    • Quote Originally Posted by tjcrowder View Post
      Seemingly throughout the docs, I see things like this:

      {@link Ext.Element Element}
      ...rather than an actual link to the item listed. And yet in other places, the links work fine. I don't recall this from the alpha1 docs, but it's all over the beta1 docs. The Panel.header and Panel.footer properties are examples, but again, it's a general thing.

      BTW, you're doing great work on the docs, folks. Substantial improvements between alpha1 and beta1, really obvious progress.

    Class Ext.ComponentMgr
    • incorrect return type for method get [link]
      -- should be Ext.Component

    Class Ext.data.Connection
    • missing closing quote in anchor tag found in description of event requestexception [[post=76278]link[/[post]]
    • extraParams should be params [link] - Both are included and valid

    Class Ext.data.Field
    • missing docs [link] - Marked private with comment

    Class Ext.data.JsonReader
    • incorrect description for method readRecords [link]
      -- "... an XML document" should be "a JSON object" instead

    Class Ext.data.Store
    • Ext.data.Store's "find" method has this in the summary at the top: "Returns a new collection that has been filtered." It actually returns the index of the record, or -1 (which it correctly says later under "Return"). [link]
    • Description needs to be updated: "The Store class encapsulates a client side cache of Ext.data.Record objects which provide input data for widgets such as the Ext.grid.GridPanel, or the Ext.form.ComboBox." [link]

    Class Ext.Element
    • Inconsistencies with get/setLeft/Top [link This is NOT bug, but rather a design decision.]
    • Since it's optional, can the default value for the loadScripts parameter in the update method be specified? [link]

    Class Ext.form.Action
    • messed up description for method submit [link]
    • configs method, success and failure still reference deprecated Ext.form.Form class [link]

    Class Ext.form.CheckBox
    • missing config inputValue [link] - This appears to be a doc parser issue. Following up.

    Class Ext.form.ComboBox
    • typo in description for config displayField [link]
      -- "The underlying data field name to bind to this CombBox..."
    • missing config hiddenId

    Class Ext.form.FormPanel
    • Various inherited members need to be @hidden
    • bodyStyle states it's expecting a boolean instead of a an object. [link] - This is inherited from Panel and is defined as String/Object/Fn

    Class Ext.form.FormPanel
    • missing property form [link] - SKIPPED - form is private, getForm() should be used

    Class Ext.form.Radio
    • missing config inputValue [link] - SKIPPED - Inherited from CheckBox, will be fixed when it is fixed

    Class Ext.grid.ColumnModel
    • Doesn't mention the editor option needed to use with EditorGridPanel [link]
    • "Just as a favour for newbies, Ext.grid.ColumnModel's "renderer" config option (and "setRenderer" method) might mention that Ext.util.Format has various useful goodies..." [link]

    Class Ext.grid.EditorGrid
    • Docs show trackMouseOver as a config entry, but show it defaults to true, which is not the case. [link] - It is inherited from Panel and overridden in EditorGrid to false because it causes errors in FF. It has now been hidden so it should not show up as a valid EditorGrid config.

    Class Ext.grid.GridPanel
    • missing GridPanel constructor
    • description for config maxRowsToMeasure still refers to deprecated autoSizeColumns config from Ext 1.1.1 [link]
    • incorrect description for config trackMouseOver [link]
      -- should be "Default is true."
    • GridPanel.ddGroup is not documented. [link]

    Class Ext.grid.GroupingView
    • missing config showGroupName [link]
      -- incorrect documented as "hideGroupedColumn" in GroupingView.js (probably a copy-paste error)
    • getGroupId should return the id of the group - not void. [link]

    Class Ext.layout.FormLayout
    • reference to Ext.FormPanel brings to a broken link. I think it should be Ext.form.FormPanel instead. [link]

    Class Ext.PagingToolbar
    • missing config store [link]
    • incorrect default value for config displayMsg [link]
      -- should be "Displaying {0} - {1} of {2}"

    Class Ext.Panel
    • typo in description for config autoLoad [link]
      -- "If autoLoad is not null, the panel will attempt to laod its contents immediately upon render."
    • document parser error for config keys [link]
      -- "A KeyMap config object (in the format expected by in the format expected by {@link Ext.KeyMap#addBinding) used to assign custom key handling..."
    • typo in description for config shadow [link]
      -- "[...] Note that this option opnly applies when floating = true."
    • incorrect return type for property bodyStyle [link]
      -- should be "String", not "boolean"
    • typo in description for config shim [link]
      -- "...Note that this option opnly applies..."
    • incorrect type for config bodyStyles [link]
      -- should be String/Object/Function
    • incorrect description for config tbar [link]
      -- should be "...This can be either an Ext.Toolbar object or an array of buttons/button configs..."
    • typo in description for config elements [link]
      -- "...Valid values are: 'header,' 'body,' 'footer,' 'tbar' (top bar) abd 'bbar' (bottom bar)..."
    • typo in the description of Ext.Panel's setTitle method: "Sets the title text for the panel and optioanlly the icon class." [link]
    • Panel.draggable needs to be added -- can contain also drag config object; it is {Boolean/Object} type. [link]

    Class Ext.QuickTip
    Class Ext.QuickTips
    • missing docs [link]

    Class Ext.Resizable
    • missing event beforeresize [link]
    • missing event resize [link]

    Class Ext.TabPanel
    • "TabPanel does not list its own members. ie click on the "hide inherited members" and the only one that shows up is the constructor." [link]
    • missing method setActiveTab [link]
    • Config Option enableTabScroll: Number - Should be boolean? [link]
    • "The docs for the TabPanel contain config items that do not apply to a tab panel" [link]
      1. header
      2. headerAsText
      3. title
    • TabPanel's tab's config options (tabTip, closable, etc) are not documented [link]

    Class Ext.Tip
    • missing docs [link]

    Class Ext.Toolbar
    • messed up constructor + parameters for method insertButton [link]
    • The "items" config option of Ext.Toolbar isn't documented [link]

    Class Ext.ToolTip
    • missing docs [link]

    Class Ext.tree.TreeLoader
    • missing config requestMethod [link]

    Class Ext.tree.TreePanel
    • "Also, what is the difference between 'applyTo' and 'renderTo' and how are they different from the 'el' option? I tried both of these and received errors." [link] - This actually applies to Ext.Component

    Class Ext.form.TriggerField
    • Change example to: trigger.applyToMarkup('my-field'); [link]

    Class Ext.util.MixedCollection
    • "The documentation for both the constructor and getKey() should point out that the default getKey function is:" [link]
      function(o) {
        return o.id;
    • Over in this thread Jack said he'd added some further params suggested by papasi to the Ext.util.MixedCollection.each method, and indeed the latest source has those new params (index and length), but the docs still talk about the "first and only" parameter... [link]

    Class Ext.util.Observable
    • typo in addListener method's delay config [link]
      -- "delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires." ("te" should be "the")
    • missing config listeners [link]

    Class Ext.Updater
    • Quote Originally Posted by JeffHowden View Post
      There seems to be a parsing problem with Updater.update().

      update( Object/String/Function url, [String/Object params], [Function callback], [Boolean discardUrl] ) : void
      Performs an asynchronous request, updating this element with the response. If params are specified it uses POST, othe...
      Performs an asynchronous request, updating this element with the response. If params are specified it uses POST, otherwise it uses GET.

      NB: Due to the asynchronous nature of remote server requests, the returned data will not be available to the line immediately following the load() call. To process the returned data, use the callback option, or an {@link #event-update update} event handler.
    • options.params formatting: "If tt>true any <>script> tags embedded in the response text will be extracted and executed. ...."
    • Docs for configs discardUrl, nocache, text and scripts are missing. The indentation of the options that are present is not quite right too.
    • Typo in update example: "scripts: false // Save time by avoiding RexExp execution."
    • Usage example at top has: "mgr.update("http://myserver.com/index.php", "param1=1&param2=2");" -- It doesn't look like that parameter pattern is supported by the update docs. Either the example is wrong or the update method docs are missing something. [link] - Both formats are supported, but to avoid confusion, I changed the example to the newer config format


    Samples / Examples
    • Forms - Customizing:Search Field [link]
      -- "Typing in Test will give a 2 page result, but when clicking next page, you would see the total pages changing from 2 to 84." [link]
    • LayoutManagers - Complex: in the Center Panel tab, the "Toggle the west region" link does nothing.
    • LayoutManagers - Customizing:Portals
      Quote Originally Posted by tjcrowder View Post
      There are some properties and other things used in the Portal layout example (examples/layout/portal.js) that aren't documented in the API documentation (or in many cases the code):

      1. Panel.body property. Looking at Panel.js, there's an accessor method for it called getLayoutTarget, but that's got a comment above it saying it's private. It's documented now in beta1.

      2. ddScrollConfig (both it and its members). Seems to be used by the ScrollManager for this and that, recommend adding it either in the ScrollManager summary or to the description of the register method (or both).

      3. Panel.bwrap property.

      4. DragSource.proxy property.


    Misc / Requests
    1. "Also, is there going to be a "Print Friendly" link on each page like the 1.1.1 docs? Sometimes it is handy to print out a section." [link]
    2. "Additional Tree-related issues: (these are from an Ext newbie trying to learn this stuff)" [link]
      1. There's no description at all for the TreeNode and AsyncTreeNode (same in version 1.x docs). Describe the use and difference between the two. Please don't leave it to the user to figure it out for themselves.
      2. The description of AsynchTreeLoader.loader says that it 'defaults to the loader defined on the tree'. How do you define a loader for the tree? There's no options, properties, or methods of a Tree to do that.
      3. If you can create a checkbox for a tree node, how can you assign a value to that checkbox?

    3. Quote Originally Posted by neshaug View Post
      It seems like there is alot more config options for components than I can find in the Ext 2.0 docs. I can find many examples that uses: region, minSize, split, margins, el and contentEl. I think I have seen more too, and the advice I get if it's used in an example I should to, but it would be nice to know what these options do.. I've searched the forums and I can't find any relevant posts about it, but I've just started with Ext so I am sorry if this is something obvious I just don't get..

    4. Quote Originally Posted by SeaSharp View Post
      It would be nice if the online documentation system reported its minor version number in the top of page banner. This was the reason for my doc bug report above not having a version in the title.

      Something like "Ext 2.0 (beta 1) - API Documentation"

    5. Quote Originally Posted by splintor View Post
      BTW, the help system can be improved so it is possible to build diret links to a config option, property or method. I would think something like http://extjs.com/deploy/dev/docs/?cl...xt.Window-html would work, but it doesn't. It seems to put the page in an eternal "Loading" mode.
    6. Class Ext.ComponentMgr
      Quote Originally Posted by dhurlburtusa View Post
      Documentation for methods in Ext.ComponentMgr are missing.
      registerType(xtype, cls) and create(config, defaultType).
      The shorthand for Ext.ComponentMgr.registerType = Ext.reg is not documented.

      Maybe these are intended to be private methods and shorthands although registerType seems essential to adding new components and user extensions.
    7. Class Ext.form.BasicForm
      Quote Originally Posted by tjcrowder View Post
      The summary for BasicForm talks about overriding the onSubmit method if you want to do a "normal" form submission, but the onSubmit method isn't documented and is marked "private" in the source.
    8. Class Ext.form.FormPanel
      Quote Originally Posted by tjcrowder View Post
      Ext.form.FormPanel's documentation should discuss the 'items' config option as it relates to FormPanel (see this thread). It's currently inheriting the Component documentation, which doesn't help you figure out what it's going to do with the configs and specifically how it's going to map configs to classes.
      Quote Originally Posted by tjcrowder View Post
      In the summary for Ext.form.FormPanel, I recommend adding a link to Ext.form.Action.Submit so users can readily see the format for the JSON return data for the response to the default form submission feature (which is really cool).
    9. Class Ext.grid.CheckboxSelectionModel
      Quote Originally Posted by aconran View Post
      I think the documentation for CheckboxSelectionModel's header config option could be updated to be a bit more clear.

      It leads one to believe that simply changing the header config will remove the checker image in the header. This is not the case because the id must be changed as well (to change the css class name).
    10. Class Ext.KeyMap
      "BTW, the same problem happens with Ext.form.BasicForm.addBinding." [link]
      Quote Originally Posted by aparajita View Post
      Mac OS X 10.4

      Link: http://extjs.com/deploy/ext-2.0-alph...ber=addBinding

      Clicking on the row expander for Ext.KeyMap.addBinding causes all of the row expanders in the methods section to disappear.
    Last edited by aconran; 14 Jan 2008 at 9:03 PM. Reason: Added thru post #140 | added report for Ext.form.ComboBox

  3. #3
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Vote Rating
    mystix will become famous soon enough mystix will become famous soon enough



    Quote Originally Posted by Idle View Post
    Dont know where to put this because its not in the documentations but in the samples ... sorry if im putting it in the wrong section.

    In the 2.0 Sample Custom Fields


    When changing page after a search has been done, the whole search result will revert to a default search results page.


    Typing in Test will give a 2 page result, but when clicking next page, you would see the total pages changing from 2 to 84.
    reposting @Idle's bug report.

    added to the list.

  4. #4
    Ext User
    Join Date
    Jul 2007
    Vote Rating
    devnull is on a distinguished road



    2.0 alpha 1 docs - http://extjs.com/deploy/ext-2.0-alph...s=Ext.TabPanel
    TabPanel does not list its own members.
    ie click on the "hide inherited members" and the only one that shows up is the constructor.

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Austin, Texas
    Vote Rating
    brian.moeskau is an unknown quantity at this point



    FYI -- the 2.0 docs are known to be not fully complete as of today (they are about 80-90% right now for new 2.0 stuff), but some things we just haven't gotten to yet. However, I hope that some of you 1.0 "old-timers" will appreciate how much there is now vs. when 1.0 alpha came out...

    Also, there are still some doc issues from 1.1 that have not yet been addressed that will also carry over to 2.0, so if you can, please verify first that it's not already listed in the 1.1 thread: http://extjs.com/forum/showthread.php?t=10476

    The 1.1 doc issues will all be addressed prior to 2.0 final release, so with 2.0, hopefully we'll get to a pretty clean slate and be able to keep it that way. Thanks for your patience, and please continue letting us know about any issues you find!

    (PS: I'll update this thread when the 2.0 docs are "content-complete".)

  6. #6
    Ext User
    Join Date
    Jul 2007
    Vote Rating
    devnull is on a distinguished road



    I see
    Do you still want reports of missing stuff then, or do you already have a list?
    I do very much like the new docs interface, kudos to you guys for designing that!

  7. #7
    Sencha User
    Join Date
    Apr 2012
    Austin, Texas
    Vote Rating
    brian.moeskau is an unknown quantity at this point



    Feel free to post any issues you find. I was just more providing a status update on where the docs stand currently.

  8. #8
    Ext JS Premium Member stever's Avatar
    Join Date
    Mar 2007
    Vote Rating
    stever will become famous soon enough stever will become famous soon enough



    In form.Action.load:

    A response packet must contain a boolean data property. The Ext.form.Field.setValue method.


    "A response packet must contain a boolean success property, and if successful also a non-null data property used to fill fields via the Ext.form.Field.setValue method."

  9. #9
    Ext JS Premium Member
    Join Date
    May 2007
    Vote Rating
    danh2000 is on a distinguished road


    Default PropertyGrid


    The PropertyGrid has no documentation - although you may not have got to it yet if you are still working on docs.



  10. #10
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Notts/Redwood City
    Vote Rating
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about



    The Ext.form.Action classes contained a lot of typos, these have been fixed in SVN.

Thread Participants: 182

  1. JeffHowden (3 Posts)
  2. Animal (64 Posts)
  3. tryanDLS (10 Posts)
  4. christocracy (1 Post)
  5. jarrod (2 Posts)
  6. jay@moduscreate.com (21 Posts)
  7. JTM (1 Post)
  8. vtswingkid (1 Post)
  9. young_matthewd (3 Posts)
  10. sjivan (1 Post)
  11. yogurtearl (1 Post)
  12. Condor (34 Posts)
  13. mdissel (2 Posts)
  14. steve.neill (4 Posts)
  15. mikegiddens (3 Posts)
  16. rmesser (1 Post)
  17. jweber (1 Post)
  18. aconran (8 Posts)
  19. vmorale4 (13 Posts)
  20. tof (4 Posts)
  21. stever (1 Post)
  22. berend (3 Posts)
  23. Jul (16 Posts)
  24. bone (2 Posts)
  25. timb (1 Post)
  26. punkrider (2 Posts)
  27. dolittle (4 Posts)
  28. papasi (1 Post)
  29. kimu (1 Post)
  30. willydee (2 Posts)
  31. dotnetCarpenter (1 Post)
  32. steven (3 Posts)
  33. DeyV (1 Post)
  34. cdomigan (1 Post)
  35. JorisA (2 Posts)
  36. MaxT (3 Posts)
  37. jsakalos (2 Posts)
  38. tellioglu (2 Posts)
  39. architect (1 Post)
  40. ksachdeva (1 Post)
  41. PFM (1 Post)
  42. evant (4 Posts)
  43. thesilentman (4 Posts)
  44. para (2 Posts)
  45. sj137 (6 Posts)
  46. J.C. Bize (3 Posts)
  47. Jonno70 (1 Post)
  48. splintor (9 Posts)
  49. mribbons (1 Post)
  50. danh2000 (1 Post)
  51. loeppky (2 Posts)
  52. mdm-adph (3 Posts)
  53. NBRed5 (1 Post)
  54. meej (1 Post)
  55. tobiu (1 Post)
  56. patspam (1 Post)
  57. gimbles (2 Posts)
  58. jan1234 (2 Posts)
  59. Ytorres (1 Post)
  60. aparajita (4 Posts)
  61. carol.ext (2 Posts)
  62. end-user (3 Posts)
  63. nicora (1 Post)
  64. devnull (4 Posts)
  65. AdamDawes (1 Post)
  66. mjlecomte (92 Posts)
  67. BlackICE1979 (1 Post)
  68. vincentc (1 Post)
  69. rednix (3 Posts)
  70. hansellh (1 Post)
  71. TaterSalad (1 Post)
  72. aptana_michelle (1 Post)
  73. Trixor (3 Posts)
  74. Iveco (1 Post)
  75. mscdex (4 Posts)
  76. watrboy00 (8 Posts)
  77. pic_Nick (1 Post)
  78. tohagan (1 Post)
  79. gimler (1 Post)
  80. smcguire36 (1 Post)
  81. ziesemer (2 Posts)
  82. balou (1 Post)
  83. yarmy (1 Post)
  84. jerrybrown5 (1 Post)
  85. abent (1 Post)
  86. lvanderree (4 Posts)
  87. Greenosity (1 Post)
  88. tjcrowder (18 Posts)
  89. treffer (2 Posts)
  90. SeaSharp (3 Posts)
  91. dhurlburtusa (1 Post)
  92. neshaug (2 Posts)
  93. tony_k (1 Post)
  94. Jim McCabe (1 Post)
  95. dyndan (1 Post)
  96. Hemlock (1 Post)
  97. runnersixty (1 Post)
  98. stoober (1 Post)
  99. battisti (1 Post)
  100. slobo (1 Post)
  101. plan-r (2 Posts)
  102. joeaudette (1 Post)
  103. paradawks (1 Post)
  104. saJoshua (7 Posts)
  105. t34 (6 Posts)
  106. markpele (1 Post)
  107. Gordon76 (1 Post)
  108. mankz (3 Posts)
  109. cblin (1 Post)
  110. jasonbronson (3 Posts)
  111. stebru (1 Post)
  112. Enes (1 Post)
  113. jburnhams (1 Post)
  114. david.james (1 Post)
  115. krystian (1 Post)
  116. erlando (1 Post)
  117. asteidle (1 Post)
  118. iamnoah (1 Post)
  119. molasses (1 Post)
  120. jonn (3 Posts)
  121. jhurst (1 Post)
  122. Starfall (14 Posts)
  123. creusois (1 Post)
  124. silvereen (1 Post)
  125. vilivili (2 Posts)
  126. jezmck (1 Post)
  127. nbourdeau (1 Post)
  128. YarivYaari (1 Post)
  129. luv2hike (1 Post)
  130. mrileyaz (1 Post)
  131. jmcneese (1 Post)
  132. treqx (1 Post)
  133. willdudziak (1 Post)
  134. NOSLOW (3 Posts)
  135. tomcheng76 (2 Posts)
  136. jove4015 (1 Post)
  137. xpurpur (1 Post)
  138. mknopp (1 Post)
  139. aurelien (2 Posts)
  140. nctag (5 Posts)
  141. pbuyle (1 Post)
  142. keckeroo (2 Posts)
  143. vcastel (1 Post)
  144. switch (1 Post)
  145. dcesarnascimento (1 Post)
  146. mirko (1 Post)
  147. mdkalman (1 Post)
  148. nb (1 Post)
  149. makana (2 Posts)
  150. fins (1 Post)
  151. NoahK17 (1 Post)
  152. Answerfor (1 Post)
  153. russn (1 Post)
  154. accilies (1 Post)
  155. SamuraiJack1 (1 Post)
  156. Eric24 (2 Posts)
  157. Funcracker (5 Posts)
  158. oxyum (1 Post)
  159. SoreGums (1 Post)
  160. Berni (1 Post)
  161. photomo (1 Post)
  162. nicktak (1 Post)
  163. don_luiz (2 Posts)
  164. wwarby (7 Posts)
  165. hAmpzter (1 Post)
  166. masuran (1 Post)
  167. ben_dog (3 Posts)
  168. thboileau (4 Posts)
  169. kds.chris (1 Post)
  170. salewski (1 Post)
  171. Mjollnir26 (1 Post)
  172. mikamikaze (1 Post)
  173. dreas (2 Posts)
  174. mschwartz (1 Post)
  175. jililv (2 Posts)
  176. TinKim (1 Post)
  177. zgrose (1 Post)
  178. martinjrb (1 Post)
  179. flinz (2 Posts)
  180. PierceSD (1 Post)
  181. dlgoodchild (1 Post)
  182. brian.moeskau (12 Posts)