|
1 DataTable Change History |
|
2 ======================== |
|
3 |
|
4 3.10.3 |
|
5 ------ |
|
6 |
|
7 * No changes. |
|
8 |
|
9 3.10.2 |
|
10 ------ |
|
11 |
|
12 * No changes. |
|
13 |
|
14 3.10.1 |
|
15 ------ |
|
16 |
|
17 * No changes. |
|
18 |
|
19 3.10.0 |
|
20 ------ |
|
21 |
|
22 * Fix renderBody in the docs and in table-message. [albertosantini] |
|
23 |
|
24 * Add italian language files to the components. [albertosantini] |
|
25 |
|
26 3.9.1 |
|
27 ----- |
|
28 |
|
29 * No changes. |
|
30 |
|
31 3.9.0 |
|
32 ----- |
|
33 |
|
34 * Making sortable datatableheaders unselectable [Pull Request #286] |
|
35 [Pull Request #378] [Ticket #2532825] [ItsAsbreuk] [apipkin] |
|
36 |
|
37 * French translations for the DataTable [Pull Request #454] [ArnaudD] [davglass] |
|
38 |
|
39 * Merged in #392: Named cell formatters [satyam] |
|
40 |
|
41 3.8.1 |
|
42 ----- |
|
43 |
|
44 * Avoid processing columns if there aren't any to allow empty tables. |
|
45 [Pull Request #176] [Mark Woon] |
|
46 |
|
47 * Default sort for text columns is now case insensitive. Added `caseSensitive` |
|
48 attribute to table columns config. Setting `caseSensitive` to `true` will |
|
49 bypass the case insensitive sort speeding up sort in large data sets, where |
|
50 case insensitivity is not required. [Ticket #2532134] [Pull Request #281] |
|
51 [clanceyp] |
|
52 |
|
53 3.8.0 |
|
54 ----- |
|
55 |
|
56 * No changes. |
|
57 |
|
58 3.7.3 |
|
59 ----- |
|
60 |
|
61 * No changes. |
|
62 |
|
63 3.7.2 |
|
64 ----- |
|
65 |
|
66 * No changes. |
|
67 |
|
68 3.7.1 |
|
69 ----- |
|
70 |
|
71 * No changes. |
|
72 |
|
73 3.7.0 |
|
74 ----- |
|
75 |
|
76 * No changes. |
|
77 |
|
78 3.6.0 |
|
79 ----- |
|
80 |
|
81 * Extracted all rendering logic into new class Y.DataTable.TableView. Added |
|
82 `view` and `viewConfig` attributes to configure which view to use to render |
|
83 the table. `headerView`, `bodyView`, and `footerView` are all passed along |
|
84 to this View class to delegate rendering (if appropriate). You can now have |
|
85 a single `view` config on DT to render the entire table and contents. |
|
86 NOTE: if you were subscribing to `renderHeader`, `renderBody`, or |
|
87 `renderFooter` events, they now have to be prefixed with 'table' (E.g. |
|
88 `table.after('table:renderBody', fn);` |
|
89 * Column configuration array is now copied when assigned. This allows the same |
|
90 array and column config objects to be used for multiple tables. |
|
91 |
|
92 3.5.1 |
|
93 ----- |
|
94 |
|
95 * No changes. |
|
96 |
|
97 3.5.0 |
|
98 ----- |
|
99 |
|
100 * Major refactor. See README for details about the new architecture. |
|
101 * Y.DataTable is now instantiable, in addition to Y.DataTable.Base |
|
102 * Recordset use has been replaced by ModelList. `recordset` attribute passes through to `data` attribute. This is incomplete back compat because get('recordset') doesn't return a Recordset instance. |
|
103 * Columnset use has been removed. Column configuration is managed as an array of objects. `columnset` attribute passes through to `columns` attribute. The same incomplete back compat applies. |
|
104 * DataTable doesn't render the table contents or header contents. That is left to `bodyView` and `headerView` classes. |
|
105 * Support for rendering a `<tfoot>` is baked in. |
|
106 * `datatable-datasource` modified to update a DataTable's `data` attribute rather than the (deprecated) `recordset`. |
|
107 * Scrollable tables now support captions |
|
108 * Added datatable-mutable module to provide addRow, removeRow, addColumn, etc |
|
109 * Added datatable-column-widths module to set column widths |
|
110 |
|
111 * Liner `<div>`s have been removed from the cell template in the default markup |
|
112 * `<colgroup>` is not rendered by default (added via `datatable-column-widths` extension) |
|
113 * message `<tbody>` is not added by default (compatibility module not added yet) |
|
114 * CSS uses `border-collapse: collapse` for all user agents instead of `separate` for most, but `collapse` for IE |
|
115 * CSS for base only includes styles appropriate to rendering the base markup |
|
116 * header gradient rendered as CSS gradient where possible, falling back to background image. |
|
117 * Added class "yui3-datatable-table" to the `<table>` |
|
118 * Added class "yui3-datatable-header" to all `<th>`s |
|
119 * Changed class "yui3-column-foo" to "yui3-datatable-col-foo" for `<th>`s and `<td>`s |
|
120 * Added class "yui3-datatable-cell" to all `<td>`s |
|
121 * CSS no longer references tags, only classes |
|
122 * ARIA grid, row, and gridcell roles added to the markup templates |
|
123 |
|
124 * `recordset` attribute deprecated in favor of `data` attribute |
|
125 * `columnset` attribute deprecated in favor of `columns` attribute |
|
126 * `tdValueTemplate`, `thValueTemplate`, and `trTemplate` attributes and `tdTemplate` and `thTemplate` properties dropped in favor of CELL_TEMPLATE and ROW_TEMPLATE properties on the `bodyView` and `headerView` instances. |
|
127 * Now fires `renderTable`, `renderHeader`, `renderBody`, and `renderFooter` events |
|
128 * Added `data`, `head`, `body`, and `foot` properties to contain instances of the ModelList and section Views. |
|
129 * Columns now MAY NOT have `key`s with dots in them. It competes with Attribute's support for complex attributes. When parsing data with DataSchema.JSON, use the `locator` configuration to extract the value, but use a simple `key` to store/reference it from DT. |
|
130 |
|
131 |
|
132 3.4.1 |
|
133 ----- |
|
134 |
|
135 * Removed the `td` property from the object passed to cell formatters by |
|
136 default. Implementers should return innerHTML or modify the `tdTemplate` |
|
137 and set properties on the `o` object passed to the formatter for |
|
138 template substitution. For implementers that *must* have a Node for the |
|
139 cell, a new prototype method `createCell(o)` may be called from formatters. |
|
140 The method creates a Node using the standard template substitution of |
|
141 `tdTemplate` + values stored in `o`. It then adds the cell Node to the |
|
142 `td` property on `o` and returns the created Node. That said, using strings |
|
143 will make the table faster (maybe not in this release, but in 3.5.0). |
|
144 [Ticket #2529920] |
|
145 |
|
146 * Added a column attribute `emptyCellValue` to populate cells without content |
|
147 values. In your column definition, specify a value you want to show in the |
|
148 rendered cell in the case of missing data. The default `emptyCellValue` is |
|
149 the empty string, so no more "{value}" showing up in tables. |
|
150 [Ticket #2529921] |
|
151 |
|
152 3.4.0 |
|
153 ----- |
|
154 |
|
155 * Render cycle revamped to avoid calls through the Attribute API for each |
|
156 cell. This should improve render performance somewhat. More performance |
|
157 improvements to come in 3.5.0. The object passed through the render loops' |
|
158 supporting methods now has additional properties and many properties are |
|
159 added earlier. o.td still refers to the cell added by the previous |
|
160 loop iteration--a proper fix is coming in 3.5.0. Look in the Gallery for |
|
161 a patch module. |
|
162 |
|
163 * Now creates a new `RecordSet` for each instance rather than reusing the same |
|
164 one. [Ticket #2529980] |
|
165 |
|
166 * Captions are only added if a value is set for the `caption` attribute |
|
167 [Ticket #2529968] |
|
168 |
|
169 |
|
170 3.3.0 |
|
171 ----- |
|
172 |
|
173 * Initial release. |
|
174 |
|
175 * Known Android issue (Ticket #2529761): Scrolling is currently not supported |
|
176 on the Android WebKit browser. |