2
votes

What's the xtype of Ext.grid.Panel. Also please tell me how can i find the xtype of any class.

Thanks

2
Your two questions are unrelated to each other. Please consider to split them into two separate questions. - Molecular Man
true they are unrelated. - dev

2 Answers

3
votes

You can see the xtype in the online documentation, it appears with the name of the class in the title. In your case Ext.grid.panel use the xtype gridpanel.

0
votes

You can also call the getXType() method on any Extjs 4 component. This will return the string that represents the component xtype.