mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
1b4688cdf3
- The columns().data() method was flattening the returned array. While possibly okay on its own, that doesn't match the behaviour of how rows().data() works, where each row is an entry in the array, rather than the array being flattened. As such I've changed columns().data() to work work in the say way, for each column you select, you get an entry in the api instance - an array with the data for the that column. - To allow for hte fact that some may want to work with the flattened data, I've added a `flatten()` method to the instance base, which is basically a shortcut call to `reduce`. |
||
---|---|---|
.. | ||
css | ||
images | ||
js | ||
src | ||
unit_testing |