/** * @class Ext.dataview.ItemHeader * @extend Ext.Component * @xtype itemheader * @mixin Ext.mixin.Toolable * @mixin Ext.dataview.Pinnable * * A simple header component for grouped lists. List headers are created automatically * by {@link Ext.dataview.List Lists} and should not be directly instantiated. */ /** * @cfg {String/String[]/Ext.XTemplate} tpl * This is the normal {@link Ext.Component#cfg!tpl tpl} config but in this context, * this {@link Ext.XTemplate template} has access to a specialized data object. * The data object available to the template provides the following properties: * * * `name` The grouping string of the {@link Ext.data.Store#groupField groupField} * for the group header. This string is the string produced by grouper's * {@link Ext.util.Grouper#groupFn groupFn}. * * `value` The value of the {@link Ext.data.Store#groupField groupField} * for the group header being rendered. * * `columnName` The column header associated with the field being grouped * by *if there is a column for the field*, falls back to the `groupField`. * * `groupField` The field name being grouped by. * * `html` The rendering of the `value` as handled by the cell (for a grid, * otherwise the same as `name`). * * `children` An array containing the child records for the group. **This is not * available if the store is a {@link Ext.data.BufferedStore BufferedStore}.** * * @since 6.5.0 */