-
20 Nov 2008 9:18 AM #501
Class: Ext.tree.TreeNode
Method: ensureVisible
It's not documented, that a callback function can be passed to this method.Programming today is a race between software engineers striving to build bigger and better Ñ–diot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)
Enhanced ExtJS adapter for Adobe AIR
-
22 Nov 2008 9:15 AM #502
Augh!
I just did a big catchup on this and committed changes to 21 classes in each code branch, 2.0 and 3.0 to get us up to date.
I'll go and check the documentation example suggestions thread now.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
22 Nov 2008 9:42 AM #503
MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
22 Nov 2008 10:14 AM #504
I don't think the docs have been regenerated since the 2.2 release which is a little disappointing.
It's not as if we documenters can break clients' code! I think the docs should be regenerated frequently because they are constantly changing in response to user quiestions and misunderstandings.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
25 Nov 2008 5:36 PM #505
The Date.parseDate() documentation should note that rollovers will occur if certain fields have a larger-than-expected value. These include days, months, hours, minutes, and seconds. See this thread.
-
1 Dec 2008 4:46 AM #506
IMO the part in red is not accurate due to the code following:
it doesn't matter if it's true or not, because initComponent forces it to be true:Code:/** * @class Ext.Button * @extends Ext.Component * Simple Button class * @cfg {String} text The button text * @cfg {String} icon The path to an image to display in the button (the image will be set as the background-image * CSS property of the button by default, so if you want a mixed icon/text button, set cls:"x-btn-text-icon") * @cfg {Function} handler A function called when the button is clicked (can be used instead of click event) * @cfg {Object} scope The scope of the handler * @cfg {Number} minWidth The minimum width for this button (used to give a set of buttons a common width) * @cfg {String/Object} tooltip The tooltip for the button - can be a string or QuickTips config object * @cfg {Boolean} hidden True to start hidden (defaults to false) * @cfg {Boolean} disabled True to start disabled (defaults to false) * @cfg {Boolean} pressed True to start pressed (only if enableToggle = true) * @cfg {String} toggleGroup The group this toggle button is a member of (only 1 per group can be pressed, only * applies if enableToggle = true) * @cfg {Boolean/Object} repeat True to repeat fire the click event while the mouse is down. This can also be an {@link Ext.util.ClickRepeater} config object (defaults to false). * @constructor * Create a new button * @param {Object} config The config object */
Code:if(typeof this.toggleGroup === 'string'){ this.enableToggle = true; }MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
2 Dec 2008 4:15 AM #507Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
Template/XTemplate
Template/XTemplate
The Template/XTemplate docs are still incomplete:
Ext.Template has the following config options:
compiled (Boolean): true to compile the template immediately (see compile()) (default: false)
disableFormats (Boolean): true to disable format functions in the template. If the template doesn't contain format functions, setting disableFormats to true will reduce apply time (default: false)
re (RegExp): The regular expression used to match template variables (default: matches {name}).
Ext.XTemplate has an extra config option:
codeRe (RegExp): The regular expression used to match code variables (default: matches {[expression]}).
Ext.XTemplate has also the ability to execute arbitrary code with <tpl exec="..."></tpl>
It's also worth a note that the <tpl> tag must conform to:
So, the following <tpl> tags are invalid:Code:<tpl (for|if|exec)="value">content</tpl>
Finally, the Ext.Template docs demonstrate how to use format functions, but this is missing from the Ext.XTemplate docs.Code:<tpl for='.'>...</tpl> <tpl if = "true">...</tpl> <tpl exec="this.doSomething()" />
-
4 Dec 2008 5:02 PM #508
Class Ext.Template
Should the bit in red be an array instead of an object?
Code:/** * Alias for {@link #applyTemplate} * Returns an HTML fragment of this template with the specified values applied. * @param {Object/Array} values The template values. Can be an array if your params are numeric (i.e. {0}) or an object (i.e. {foo: 'bar'}) * @return {String} The HTML fragment * @member Ext.Template * @method apply */MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
5 Dec 2008 1:34 PM #509
Ext.tree.TreeLoader events:
- I think it's better to call the second argument to event listeners not just node, but parentNode.
- beforeload event text: Extra "a", in "which specifies a node's children"
- load event text: "Fires when the node's children have been successfully loaded"
-
8 Dec 2008 5:20 AM #510
Ext.menu.Menu
missing documentation for z-index config option
Code:// private createEl : function(){ return new Ext.Layer({ cls: "x-menu", shadow:this.shadow, constrain: false, parentEl: this.parentEl || document.body, zindex: this.zIndex || 15000 }); },Also, constrain is fixed to be false. Why? Conflicts with align?Code:/** * @cfg {Number} zIndex z-index (defaults to 15000) */MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow


Reply With Quote
