Lines Matching refs:Model

80       this column.  Also used to create a default Model if no `recordType` or
113 Model subclass to use as the `model` for the ModelList stored in the `data`
124 3. If the `data` attribute is set with a non-empty array, a Model subclass
127 4. If the `columns` attribute is set, a Model subclass will be generated
523 Returns the Model associated to the record `id`, `clientId`, or index (not
524 row index). If none of those yield a Model from the `data` ModelList, the
528 If no Model can be found, `null` is returned.
533 @return {Model}
553 Returns the `<tr>` Node from the given row index, Model, or Model's
561 @param {Number|String|Model} id Row index, Model instance, or clientId
726 Creates a Model subclass from an array of attribute names or an object of
732 @param {String[]|Object} attrs Names assigned to the Model subclass's
734 @return {Model}
751 return Y.Base.create('record', Y.Model, [], null, { ATTRS: ATTRS });
976 // TODO: merge superclass attributes up to Model?
1092 4. If the `data` attribute is set with a non-empty array a custom Model
1094 5. If the `_columnMap` property has keys, a custom Model subclass is
1114 // Use the ModelList's specified Model class
1118 // Or if not configured, use the construct of the first Model
1424 // data in the state and their vivified Model representations in
1500 Accepts a Base subclass (preferably a Model subclass). Alternately, it will
1501 generate a custom Model subclass from an array of attribute names or an
1508 @param {Function|String[]|Object} val The Model subclass, array of
1511 @return {Function} A Base/Model subclass