<template>
    <v-sheet
        :height="height - 8"
        id="config-scroll-target"
    >
        <cs-datatable 
            :datatable="datatable"
            :width="datatable.dtWidth"
            :height="height - 8"
        />
    </v-sheet>
</template>

<script>
    export default {
        props: {
            app: {required: true},
            dataprovider: {required: true},
            height: {default: null},
        },

        computed: {
            datatable() {
                return this.app.datatables.Config;
            }
        },

        components: {
            CsDatatable: require('@CsVueComp/datatable/CsDatatable').default,
        },

        name: 'ConfigItems',
    }
</script>