PDA

View Full Version : example shows an Ext.widget



w_goldman
26 Aug 2014, 6:13 PM
Where is the api doc for the Ext.widget? This is from the page:
http://docs.sencha.com/extjs/5.0/getting_started/welcome_to_extjs.html

Ext.widget({
renderTo : Ext.getBody(),
xtype : 'grid',
title : 'Grid',
width : 650,
height : 300,
plugins : 'rowediting',
store : {
fields : [ 'name', 'age', 'votes', 'credits' ],
data : [
[ 'Bill', 35, 10, 427 ], [ 'Fred', 22, 4, 42 ]
]
}
,
...

skirtle
27 Aug 2014, 3:12 AM
Those are the ExtJS 5 docs, this is an ExtJS 4 forum. The relevant docs for both versions are:

http://docs.sencha.com/extjs/4.2.1/#!/api/Ext-method-widget
http://docs.sencha.com/extjs/5.0/apidocs/#!/api/Ext-method-widget

Both are easily found by typing 'widget' into the API docs search box.