<template>
    <div>
        <DxDataGrid class="max-h-[calc(100vh-140px)]" :show-column-lines="true" :show-row-lines="false" :show-borders="true"
            :row-alternation-enabled="true" :hover-state-enabled="true" @selection-changed="" :column-width="100"
            @exporting="" :allow-column-resizing="true" column-resizing-mode="widget">
            <DxSelection mode="single" />
            <DxPaging :page-size="5" :enabled="true" />
            <DxPager :visible="true" :allowed-page-sizes="[5, 10, 20, 'all']" display-mode="full"
                :show-page-size-selector="true" :show-info="true" :show-navigation-buttons="true" />
            <DxLoadPanel :enabled="true" />
            <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
            <DxExport :enabled="true" :formats="['pdf', 'xlsx', 'document']" :allow-export-selected-data="false" />

            <DxColumn css-class="custom-table-column" :width="50" alignment="center" data-field="" data-type="number"
                caption="No" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field="" caption="No Laporan" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field="" caption="Tgl Lapor" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="Tgl Response" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="Tgl Recovery" />
            <DxColumn css-class="custom-table-column" :width="170" alignment="center" data-field=""
                caption="Durasi Response Time" />
            <DxColumn css-class="custom-table-column" :width="170" alignment="center" data-field=""
                caption="Durasi Recovery Time" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field="" caption="Status" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="Referensi Marking" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="IDPEL/NO METER" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="Nama Pelapor" />
            <DxColumn css-class="custom-table-column" :width="170" alignment="center" data-field=""
                caption="Alamat Pelapor" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="No Telp Pelapor" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="Keterangan Pelapor" />
            <DxColumn css-class="custom-table-column" :width="150" alignment="center" data-field=""
                caption="Sumber Lapor" />
            <DxColumn css-class="custom-table-column" :width="170" alignment="center" data-field="" caption="Posko" />

        </DxDataGrid>
    </div>
</template>

<script setup lang="ts">
import { DxDataGrid } from 'devextreme-vue'
import { DxColumn, DxExport, DxLoadPanel, DxPager, DxPaging, DxScrolling, DxSearchPanel, DxSelection } from 'devextreme-vue/data-grid'

</script>