Lines Matching refs:Model
82 this column. Also used to create a default Model if no `recordType` or
115 Model subclass to use as the `model` for the ModelList stored in the `data`
126 3. If the `data` attribute is set with a non-empty array, a Model subclass
129 4. If the `columns` attribute is set, a Model subclass will be generated
525 Returns the Model associated to the record `id`, `clientId`, or index (not
526 row index). If none of those yield a Model from the `data` ModelList, the
530 If no Model can be found, `null` is returned.
535 @return {Model}
555 Returns the `<tr>` Node from the given row index, Model, or Model's
563 @param {Number|String|Model} id Row index, Model instance, or clientId
728 Creates a Model subclass from an array of attribute names or an object of
734 @param {String[]|Object} attrs Names assigned to the Model subclass's
736 @return {Model}
753 return Y.Base.create('record', Y.Model, [], null, { ATTRS: ATTRS });
978 // TODO: merge superclass attributes up to Model?
1094 4. If the `data` attribute is set with a non-empty array a custom Model
1096 5. If the `_columnMap` property has keys, a custom Model subclass is
1116 // Use the ModelList's specified Model class
1120 // Or if not configured, use the construct of the first Model
1426 // data in the state and their vivified Model representations in
1502 Accepts a Base subclass (preferably a Model subclass). Alternately, it will
1503 generate a custom Model subclass from an array of attribute names or an
1510 @param {Function|String[]|Object} val The Model subclass, array of
1513 @return {Function} A Base/Model subclass