[Vuejs]-Vue-table-2 select all rows option

0๐Ÿ‘

โœ…

I could change it without any need to do a thing.

 Vue.use(VueTables.ClientTable);

    new Vue({
        el: "#app",
        data: {
            checkedRows:[],         
            allSelected: false,
            showModal: false,                
            columns: ['selected','nameAr', 'nameEn', 'edit', 'del'],
            data: getData(),
            options: {
                headings: {
                    nameAr: 'News English Title',
                    nameEn: 'News Arabic Title',
                    edit: 'Edit',
                    del: 'Delete'
                },
                filterByColumn: true,
                sortable: ['nameAr', 'nameEn'],
                filterable: ['nameAr', 'nameEn']
            }
        } });
๐Ÿ‘คMohamed Mahfouz

Leave a comment