<crud-table></crud-table>

Agnostic web-component for object-arrays with CRUD functionality.

> npm install svelte-generic-crud-table --save-dev


Table 1:



Table 2 configuration example:


const table_config = {
    name: 'Awesome',
    options: ['CREATE', 'EDIT', 'DELETE', 'DETAILS'],
    columns_setting: [
        {name: 'id', show: false, edit: true, width: '0px'},
        {name: 'job', show: true, edit: true, width: '150px', description: 'The job'},
        {name: 'name', show: true, edit: true, width: '150px', tooltip: true},
        {name: 'private', show: true, edit: false, width: '200px', description: 'your things', tooltip: true},
        {name: 'html', show: true, edit: true, width: '500px', type: 'html', description: 'You can use HTML', tooltip: true}
    ],
    details_text: 'detail'   // replace the standard icon with an text-link
}