1.0.9 • Published 4 years ago

softbir-datatable v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Generic jquery datatable in vuejs

Installation

npm install softbir-datatables --save

Usage

<Datatable :table_header="table_header" :columns="columns" :table_data="table_data" />

Props

table_header

columns

table_data

import Datatable from "./Datatable";
    export default {
        name: 'TestDT',
        components: {Datatable},
        data() {
            return {
                columns: [
                    {name: 'Test 1'},
                    {name: 'Test 2'},
                    {name: 'Test 3'},
                ],
                table_data: [
                    ['test1', 'test2', 'test3'],
                    ['test1a', 'test2a', 'test3a'],
                ],
                table_header: [
                    'Test Column 1',
                    'Test Column 2',
                    'Test Column 3',
                ]
            }
        },
    }
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago