/** * @class Ext.pivot.axis.Item * @extend Ext.Base * * The axis has items that are generated when the records are processed. * * This class stores info about such an item. */ /** * @property {Number} [level=0] * The tree level this item belongs to * @readonly */ /** * @cfg {String} [key=''] * * The key that uniquely identifies this item in the tree. The key is a string compound of * all parent items keys separated by the matrix keysSeparator */ /** * @cfg {String/Number} [value=''] * The item value as it appears in the store */ /** * @cfg {String/Number} [sortValue=''] * The item sort value as it appears in the store. This value will be used when sorting results. */ /** * @cfg {String} [name=''] * The item name after the grouperFn was applied to the {@link #value} */ /** * @cfg {String} [id=''] * Id of the dimension this item refers to. */ /** * @property {Ext.pivot.dimension.Item} [dimension=null] * The dimension instance * @readonly */ /** * @property {Ext.pivot.axis.Item[]} [children=null] * Array of children items this item has */ /** * @property {Ext.data.Model} [record=null] * @readonly * * When the {@link Ext.pivot.matrix.Local Local} matrix is used this is the pivot store record generated for this axis item. * Only bottom level items belonging to the leftAxis have this property. */ /** * @property {Ext.pivot.axis.Base} [axis=null] * Parent axis instance * @readonly */ /** * @property {Boolean} [expanded=false] * Is this item expanded or collapsed? */