-
7 Jul 2011 5:24 AM #91
What does 'beforeBegin', 'afterBegin', 'beforeEnd' and 'afterEnd' mean?
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.
-
7 Jul 2011 6:16 AM #92
No Ext.os, nor Ext.browser.
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.
-
7 Jul 2011 6:45 AM #93
Code examples in Ext.data.Store top uses new, not Ext.create()
Code examples in Ext.data.Store top uses new, not Ext.create()
should probably have been:Code:var myStore = new Ext.data.Store({...
It is used more than once in the examples.Code:var myStore = Ext.create('Ext.data.Store', {...})
-
7 Jul 2011 12:46 PM #94
Ext.ModelManager create method arguments are backwards
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:
'User' is the model name (string), and first/last is the data passed.Code:Ext.create('User', { first: 'Ed', last: 'Spencer' });
-
7 Jul 2011 1:47 PM #95
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'
-
7 Jul 2011 11:36 PM #96
Documentation for Ext.env.FeatureDectector absent.
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.
-
8 Jul 2011 1:42 AM #97
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.
-
9 Jul 2011 12:34 PM #98
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:
I believe it should be:Code:@include Ext JS-panel-ui(
Code:@include extjs-panel-ui(
-
10 Jul 2011 7:36 PM #99
In Ext.grid.plugin.RowEditing, Events->beforeedit
In Ext.grid.plugin.RowEditing, Events->beforeedit
in "Ext.grid.plugin.RowEditing"->events->beforeedit
this can work:
and this cannot work:PHP Code:beforeedit: function(editor, e, options){
if(editor.rowIdx == 2) editor.cancel = true;
},
but in the API, it says:PHP Code:beforeedit: function(editor, e, options){
if(e.rowIdx == 2) e.cancel = true;
},
- 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.
- e : ObjectAn edit event with the following properties:
-
11 Jul 2011 6:07 AM #100
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 },
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote