mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-20 18:54:15 +01:00
- Building on the new ability of DataTables to work with element attributes as data sources for sorting and filtering, this commit adds auto-detection of the attributes 'data-sort' and 'data-filter' in DOM sourced tables. - The first row in the table is used for this auto-detection and the built mData object assigned only when it is found to be the default for the column (i.e. the column index). So any custom value is retained and thus if you want to use a custom value you need to build the attribute querying object manually (I think the majority of uses will not need this!).