Page 10 of 53 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 525

Thread: API Documentation Content Bugs

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #91
    Ext JS Premium Member ligaard's Avatar
    Join Date
    Apr 2011
    Location
    Copenhagen, Denmark
    Posts
    66
    Vote Rating
    0
      0  

    Default What does 'beforeBegin', 'afterBegin', 'beforeEnd' and 'afterEnd' mean?

    In the documentation for http://docs.sencha.com/ext-js/4-0/#/...hod-insertHtml, the first parameter just states that it can be one of four values, 'beforeBegin', 'afterBegin', 'beforeEnd' and 'afterEnd'. Please state what this means, so we do not have to try them willy-nilly. The documentation could be either inline or having each value be a link.

  2. #92
    Ext JS Premium Member ligaard's Avatar
    Join Date
    Apr 2011
    Location
    Copenhagen, Denmark
    Posts
    66
    Vote Rating
    0
      0  

    Default No Ext.os, nor Ext.browser.

    In the documentation for Ext.env.Browser, http://docs.sencha.com/ext-js/4-0/#/api/Ext.env.Browser, it is stated at the top, that there is a global Ext.browser instance. But I get undefined.

    Likewise with Ext.env.OS, http://docs.sencha.com/ext-js/4-0/#/api/Ext.env.OS, which states that I should use Ext.os. Here I also get undefined.

    The documentation should be updated to explain when the two Ext.browser / Ext.os are available.

  3. #93
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    Copenhagen, Denmark
    Posts
    36
    Vote Rating
    0
      0  

    Default Code examples in Ext.data.Store top uses new, not Ext.create()

    Code:
    var myStore = new Ext.data.Store({...
    should probably have been:

    Code:
    var myStore = Ext.create('Ext.data.Store', {...})
    It is used more than once in the examples.

  4. #94
    Sencha User
    Join Date
    Apr 2010
    Location
    Houston, TX, USA
    Posts
    25
    Vote Rating
    2
      0  

    Default Ext.ModelManager create method arguments are backwards

    usage: create( Object data, String name, Number id ) : void

    actual usage: create( String name, Object data, Number id ) : void

    The example directly below it shows how it should be used:

    Code:
    Ext.create('User', {
        first: 'Ed',
        last: 'Spencer'
    });
    'User' is the model name (string), and first/last is the data passed.

  5. #95
    Sencha User
    Join Date
    Jan 2010
    Location
    Raleigh, NC
    Posts
    13
    Vote Rating
    0
      0  

    Default

    The ComboBox 'select' event is showing the documentation for Picker which is not quite the same.

    I presume it's because the comment in ComboBox starts with a /* vs. a /**. See below:

    /*
    * @event select
    * Fires when at least one list item is selected.
    * @param {Ext.form.field.ComboBox} combo This combo box
    * @param {Array} records The selected records
    */
    'select'

  6. #96
    Ext JS Premium Member ligaard's Avatar
    Join Date
    Apr 2011
    Location
    Copenhagen, Denmark
    Posts
    66
    Vote Rating
    0
      0  

    Default Documentation for Ext.env.FeatureDectector absent.

    There is no documentation for Ext.env.FeatureDetector, http://docs.sencha.com/ext-js/4-0/#/...eatureDetector. Please provide at least a paragraph that explains what it is supposed to do.

  7. #97
    Sencha User
    Join Date
    Dec 2009
    Location
    Enschede, The Netherlands
    Posts
    327
    Vote Rating
    14
      0  

    Default

    The documentation for the roweditor says it will give two arguments to eventhandlers. This is not true, it only gives the second argument that is described.

  8. #98
    Sencha User
    Join Date
    Oct 2010
    Posts
    7
    Vote Rating
    0
      0  

    Default

    I think the example under the "Creating new Ext JS UIs" section of the theming guide is wrong. Currently the first line of the example is:

    Code:
    @include Ext JS-panel-ui(
    I believe it should be:

    Code:
    @include extjs-panel-ui(

  9. #99
    Sencha User hexawing's Avatar
    Join Date
    Nov 2009
    Posts
    73
    Vote Rating
    0
      0  

    Default In Ext.grid.plugin.RowEditing, Events->beforeedit

    in "Ext.grid.plugin.RowEditing"->events->beforeedit

    this can work:
    PHP Code:
          beforeedit: function(editoreoptions){
            if(
    editor.rowIdx == 2editor.cancel true;
          }, 
    and this cannot work:
    PHP Code:
          beforeedit: function(editoreoptions){
            if(
    e.rowIdx == 2e.cancel true;
          }, 
    but in the API, it says:
    • e : ObjectAn edit event with the following properties:
      • grid - The grid this editor is on
      • view - The grid view
      • store - The grid store
      • record - The record being edited
      • row - The grid table row
      • column - The grid Column defining the column that initiated the edit
      • rowIdx - The row index that is being edited
      • colIdx - The column index that initiated the edit
      • cancel - Set this to true to cancel the edit or return false from your handler.


  10. #100
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,030
    Vote Rating
    94
      0  

    Default

    Duplicate code line at:
    http://docs.sencha.com/ext-js/4-0/#/api/Ext.data.Types

    Extract:
    { name: 'latitude', mapping: 'lat', type: types.FLOAT },
    { name: 'latitude', mapping: 'lat', type: types.FLOAT },

Page 10 of 53 FirstFirst ... 8910111220 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •