<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 :enabled="false" />
            <DxScrolling column-rendering-mode="virtual" mode="virtual" />
            <DxLoadPanel :enabled="true" />
            <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
            <DxExport :enabled="true" :formats="['pdf', 'xlsx', 'document']" :allow-export-selected-data="false" />

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

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

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

</script>