1 |
|
2 |
|
3 |
|
4 |
/** |
5 |
* Template object for the way in which DataTables holds information about |
6 |
* each individual row. This is the object format used for the settings |
7 |
* aoData array. |
8 |
* @namespace |
9 |
*/ |
10 |
DataTable.models.oRow = { |
11 |
/** |
12 |
* TR element for the row |
13 |
* @type node |
14 |
* @default null |
15 |
*/ |
16 |
"nTr": null, |
17 |
|
18 |
/** |
19 |
* Data object from the original data source for the row. This is either |
20 |
* an array if using the traditional form of DataTables, or an object if |
21 |
* using mData options. The exact type will depend on the passed in |
22 |
* data from the data source, or will be an array if using DOM a data |
23 |
* source. |
24 |
* @type array|object |
25 |
* @default [] |
26 |
*/ |
27 |
"_aData": [], |
28 |
|
29 |
/** |
30 |
* Sorting data cache - this array is ostensibly the same length as the |
31 |
* number of columns (although each index is generated only as it is |
32 |
* needed), and holds the data that is used for sorting each column in the |
33 |
* row. We do this cache generation at the start of the sort in order that |
34 |
* the formatting of the sort data need be done only once for each cell |
35 |
* per sort. This array should not be read from or written to by anything |
36 |
* other than the master sorting methods. |
37 |
* @type array |
38 |
* @default [] |
39 |
* @private |
40 |
*/ |
41 |
"_aSortData": [], |
42 |
|
43 |
/** |
44 |
* Array of TD elements that are cached for hidden rows, so they can be |
45 |
* reinserted into the table if a column is made visible again (or to act |
46 |
* as a store if a column is made hidden). Only hidden columns have a |
47 |
* reference in the array. For non-hidden columns the value is either |
48 |
* undefined or null. |
49 |
* @type array nodes |
50 |
* @default [] |
51 |
* @private |
52 |
*/ |
53 |
"_anHidden": [], |
54 |
|
55 |
/** |
56 |
* Cache of the class name that DataTables has applied to the row, so we |
57 |
* can quickly look at this variable rather than needing to do a DOM check |
58 |
* on className for the nTr property. |
59 |
* @type string |
60 |
* @default <i>Empty string</i> |
61 |
* @private |
62 |
*/ |
63 |
"_sRowStripe": "" |
64 |
}; |