View Full Version : Container.defaultType is not documented properly in derived classes

25 May 2017, 1:14 AM
When a derived class of Container changes default value of defaultType config, the documentation ignores it:
- the text is always this: Defaults to: "panel"
- the "view source" link opens source of base class "Container" instead of derived class
- if you search "defaultType" the overridden configs are not shown in the list

As an examples see:
- Ext.container.ButtonGroup.defaultType (http://docs.sencha.com/extjs/6.5.0/classic/Ext.container.ButtonGroup.html#cfg-defaultType)
- Ext.menu.Menu.defaultType (http://docs.sencha.com/extjs/6.5.0/classic/Ext.menu.Menu.html#cfg-defaultType)

Note that I have already noticed this issue with other methods that are overridden in derived classes, but documentation ignores that, so it seems a more general issue (that was not present in the old documentation format).
As an example see this:
- Ext.grid.column.Template.defaultRenderer (http://docs.sencha.com/extjs/6.5.0/classic/Ext.grid.column.Template.html#method-defaultRenderer) is seen by the documentation as Ext.grid.column.Column.defaultRenderer