annotate DataTables-1.9.4/media/src/model/model.column.js @ 6:42076db43d42 draft

Fixed auto resizing plus various other minor bugs
author saskia-hiltemann
date Mon, 16 Nov 2015 08:56:22 -0500
parents ac5f9272033b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 * Template object for the column information object in DataTables. This object
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6 * is held in the settings aoColumns array and contains all the information that
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 * DataTables needs about each individual column.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 *
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 * Note that this object is related to {@link DataTable.defaults.columns}
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 * but this one is the internal data store for DataTables's cache of columns.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 * It should NOT be manipulated outside of DataTables. Any configuration should
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 * be done through the initialisation options.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 * @namespace
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 DataTable.models.oColumn = {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 * A list of the columns that sorting should occur on when this column
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 * is sorted. That this property is an array allows multi-column sorting
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 * to be defined for a column (for example first name / last name columns
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 * would benefit from this). The values are integers pointing to the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 * columns to be sorted on (typically it will be a single integer pointing
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 * at itself, but that doesn't need to be the case).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 * @type array
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 "aDataSort": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 * Define the sorting directions that are applied to the column, in sequence
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 * as the column is repeatedly sorted upon - i.e. the first value is used
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 * as the sorting direction when the column if first sorted (clicked on).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 * Sort it again (click again) and it will move on to the next index.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 * Repeat until loop.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 * @type array
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 "asSorting": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 * Flag to indicate if the column is searchable, and thus should be included
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 * in the filtering or not.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 "bSearchable": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 * Flag to indicate if the column is sortable or not.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 "bSortable": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 * <code>Deprecated</code> When using fnRender, you have two options for what
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 * to do with the data, and this property serves as the switch. Firstly, you
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 * can have the sorting and filtering use the rendered value (true - default),
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 * or you can have the sorting and filtering us the original value (false).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 *
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 * Please note that this option has now been deprecated and will be removed
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 * in the next version of DataTables. Please use mRender / mData rather than
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 * fnRender.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 * @deprecated
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 "bUseRendered": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 * Flag to indicate if the column is currently visible in the table or not
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 "bVisible": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 * Flag to indicate to the type detection method if the automatic type
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 * detection should be used, or if a column type (sType) has been specified
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 * @default true
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 * @private
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 "_bAutoType": true,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 * Developer definable function that is called whenever a cell is created (Ajax source,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 * etc) or processed for input (DOM source). This can be used as a compliment to mRender
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 * allowing you to modify the DOM element (add background colour for example) when the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83 * element is available.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 * @type function
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 * @param {element} nTd The TD node that has been created
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 * @param {*} sData The Data for the cell
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87 * @param {array|object} oData The data for the whole row
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 * @param {int} iRow The row index for the aoData data store
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 "fnCreatedCell": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 * Function to get data from a cell in a column. You should <b>never</b>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 * access data directly through _aData internally in DataTables - always use
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 * the method attached to this property. It allows mData to function as
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 * required. This function is automatically assigned by the column
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 * initialisation method
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 * @type function
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 * @param {array|object} oData The data array/object for the array
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 * (i.e. aoData[]._aData)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102 * @param {string} sSpecific The specific data type you want to get -
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 * 'display', 'type' 'filter' 'sort'
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 * @returns {*} The data for the cell from the given row's data
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 "fnGetData": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 * <code>Deprecated</code> Custom display function that will be called for the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 * display of each cell in this column.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112 *
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
113 * Please note that this option has now been deprecated and will be removed
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
114 * in the next version of DataTables. Please use mRender / mData rather than
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
115 * fnRender.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
116 * @type function
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
117 * @param {object} o Object with the following parameters:
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
118 * @param {int} o.iDataRow The row in aoData
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
119 * @param {int} o.iDataColumn The column in question
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
120 * @param {array} o.aData The data for the row in question
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
121 * @param {object} o.oSettings The settings object for this DataTables instance
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
122 * @returns {string} The string you which to use in the display
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
123 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
124 * @deprecated
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
125 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
126 "fnRender": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
127
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
128 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
129 * Function to set data for a cell in the column. You should <b>never</b>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
130 * set the data directly to _aData internally in DataTables - always use
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
131 * this method. It allows mData to function as required. This function
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
132 * is automatically assigned by the column initialisation method
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
133 * @type function
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
134 * @param {array|object} oData The data array/object for the array
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
135 * (i.e. aoData[]._aData)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
136 * @param {*} sValue Value to set
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
137 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
138 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
139 "fnSetData": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
140
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
141 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
142 * Property to read the value for the cells in the column from the data
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
143 * source array / object. If null, then the default content is used, if a
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
144 * function is given then the return from the function is used.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
145 * @type function|int|string|null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
146 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
147 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
148 "mData": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
149
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
150 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
151 * Partner property to mData which is used (only when defined) to get
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
152 * the data - i.e. it is basically the same as mData, but without the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
153 * 'set' option, and also the data fed to it is the result from mData.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
154 * This is the rendering method to match the data method of mData.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
155 * @type function|int|string|null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
156 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
157 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
158 "mRender": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
159
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
160 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
161 * Unique header TH/TD element for this column - this is what the sorting
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
162 * listener is attached to (if sorting is enabled.)
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
163 * @type node
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
164 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
165 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
166 "nTh": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
167
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
168 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
169 * Unique footer TH/TD element for this column (if there is one). Not used
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
170 * in DataTables as such, but can be used for plug-ins to reference the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
171 * footer for each column.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
172 * @type node
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
173 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
174 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
175 "nTf": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
176
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
177 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
178 * The class to apply to all TD elements in the table's TBODY for the column
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
179 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
180 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
181 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
182 "sClass": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
183
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
184 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
185 * When DataTables calculates the column widths to assign to each column,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
186 * it finds the longest string in each column and then constructs a
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
187 * temporary table and reads the widths from that. The problem with this
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
188 * is that "mmm" is much wider then "iiii", but the latter is a longer
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
189 * string - thus the calculation can go wrong (doing it properly and putting
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
190 * it into an DOM object and measuring that is horribly(!) slow). Thus as
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
191 * a "work around" we provide this option. It will append its value to the
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
192 * text that is found to be the longest string for the column - i.e. padding.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
193 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
194 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
195 "sContentPadding": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
196
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
197 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
198 * Allows a default value to be given for a column's data, and will be used
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
199 * whenever a null data source is encountered (this can be because mData
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
200 * is set to null, or because the data source itself is null).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
201 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
202 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
203 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
204 "sDefaultContent": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
205
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
206 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
207 * Name for the column, allowing reference to the column by name as well as
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
208 * by index (needs a lookup to work by name).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
209 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
210 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
211 "sName": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
212
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
213 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
214 * Custom sorting data type - defines which of the available plug-ins in
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
215 * afnSortData the custom sorting will use - if any is defined.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
216 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
217 * @default std
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
218 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
219 "sSortDataType": 'std',
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
220
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
221 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
222 * Class to be applied to the header element when sorting on this column
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
223 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
224 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
225 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
226 "sSortingClass": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
227
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
228 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
229 * Class to be applied to the header element when sorting on this column -
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
230 * when jQuery UI theming is used.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
231 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
232 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
233 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
234 "sSortingClassJUI": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
235
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
236 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
237 * Title of the column - what is seen in the TH element (nTh).
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
238 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
239 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
240 "sTitle": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
241
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
242 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
243 * Column sorting and filtering type
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
244 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
245 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
246 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
247 "sType": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
248
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
249 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
250 * Width of the column
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
251 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
252 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
253 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
254 "sWidth": null,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
255
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
256 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
257 * Width of the column when it was first "encountered"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
258 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
259 * @default null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
260 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
261 "sWidthOrig": null
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
262 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
263