Lines Matching defs:columns

67     Strings are converted to objects, so `columns: ['first', 'last']` becomes
68 `columns: [{ key: 'first' }, { key: 'last' }]`.
70 DataTable.Core only concerns itself with a few properties of columns.
83 used by multiple columns).
86 columns that aren't bound to a field/attribute in the record data. This
96 multiple columns using the same `key`.
98 * `_parent` - Assigned to all child columns, referencing their parent
101 @attribute columns
106 columns: {
127 4. If the `columns` attribute is set, a Model subclass will be generated
128 using the columns defined with a `key`. This is least desirable because
129 columns can be duplicated or nested in a way that's not parsable.
130 5. If neither `data` nor `columns` is set or populated, a change event
292 Deprecated as of 3.5.0. Passes through to the `columns` attribute.
302 @deprecated Use the `columns` attribute
447 number of rows to shift followed by the number of columns to shift, or one
475 nested columns, `name` can be an array of indexes, each identifying the index
480 For columns with keys, you can also fetch the column with
481 `instance.get('columns.foo')`.
490 var col, columns, i, len, cols;
499 col = this.get('columns.' + name);
506 columns = this.get('columns');
510 cols = columns;
610 `columns` attribute.
677 Updates the `_columnMap` property in response to changes in the `columns`
803 className: this.getClassName('columns')
896 Contains column configuration objects for those columns believed to be intended for display in the `<tbody>`. Populated by `_setDisplayColumns`.
907 The getter for the `columns` attribute. Returns the array of column
908 configuration objects if `instance.get('columns')` is called, or the
909 specific column object if `instance.get('columns.columnKey')` is called.
912 @param {Object[]} columns The full array of column objects
914 (e.g. 'columns' or 'columns.foo');
918 _getColumns: function (columns, name) {
920 // getter is expected to return an object if get('columns.foo') is called.
921 // Note 'columns.' is 8 characters
922 return name.length > 8 ? this._columnMap : columns;
927 `columns` attribute.
942 return this.get(name.replace(/^columnset/, 'columns'));
960 Initializes the `_columnMap` property from the configured `columns`
961 attribute. If `columns` is not set, but `recordType` is, it uses the
971 var columns = this.get('columns'),
975 if (!columns) {
977 columns = (recordType && recordType.ATTRS) ?
980 this.set('columns', columns, { silent: true });
983 this._setColumnMap(columns);
985 this._setDisplayColumns(columns);
1054 Initializes the columns, `recordType` and data ModelList.
1098 `columns`, `recordType`, and `data` to try again.
1108 var data, columns, recordType, handle, columnKeys;
1112 columns = this._columnMap;
1128 // Or if the columns were defined, build a class from the keys
1130 columnKeys = keys(columns);
1140 if (!columns || !columns.length) {
1204 Iterates the array of column configurations to capture all columns with a
1210 All columns are assigned a `_yuid` stamp and `_id` property corresponding
1213 columns, subsequent appearances will have their `_id` appended with an
1214 incrementing number (e.g. if column "foo" is included in the `columns`
1216 of "foo1"). Columns that are children of other columns will have the
1223 @param {Object[]|String[]} columns The array of column names or
1228 _parseColumns: function (columns) {
1279 // Allow getColumn for parent columns if they have a name
1288 // First in wins for multiple columns with the same key
1302 //TODO: named columns can conflict with keyed columns
1308 process(columns);
1327 this._viewConfig.columns = this.get('columns');
1359 @param {Object[]|String[]} columns the raw column configuration objects or
1364 _setColumnMap: function (columns) {
1365 this._columnMap = this._parseColumns(columns);
1370 `columns` attribute. If a Columnset is object is passed, its basic object
1385 this.set('columns', val);
1441 Stores an array of columns intended for display in the `_displayColumns`
1446 @param {Object[]} columns Column config array to extract display columns from
1450 _setDisplayColumns: function (columns) {
1468 this._displayColumns = extract(columns);