DataTables / Responsive

Responsive extension for DataTables, providing support for complex tables on all device screen sizes
Other
148 stars 86 forks source link

Priority doesn't work for me #77

Closed CsFender closed 8 years ago

CsFender commented 8 years ago

Hi!

I use this solution, what's wrong? Thanks!

        try {
            $('[data-component="dataTable"]')
                .addClass('display nowrap responsive')
                .attr('width', '100%')
                .find('thead th:last-child').attr('data-priority', 1)
                .end()
                .DataTable({
                    language: {
                        url: _BASE_HREF + '_js/lib/jquery/plugins/datatables/i18n/' + _BASE_LANG + ".json"
                    },
                    responsive: true
                });
        }catch (err)
        {
            console.error('dataTables error:', err);
        }
DataTables commented 8 years ago

Please link to a test case showing the issue.

CsFender commented 8 years ago

Huhh, it's local problem... Sorry!