Cosmetics
parent
4b6adb30bd
commit
710c692594
|
@ -68,19 +68,19 @@
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h5>Horizontal and Vertical with Footer</h5>
|
<h5>Horizontal and Vertical with Footer</h5>
|
||||||
<DataTable :value="customers" :scrollable="true" scrollHeight="400px" :loading="loading" scrollDirection="both">
|
<DataTable :value="customers" :scrollable="true" scrollHeight="400px" :loading="loading" scrollDirection="both">
|
||||||
<Column field="id" header="Id" footer="Id" :style="{width:'250px'}"></Column>
|
<Column field="id" header="Id" footer="Id" :style="{width:'200px'}"></Column>
|
||||||
<Column field="name" header="Name" footer="Name" :style="{width:'250px'}"></Column>
|
<Column field="name" header="Name" footer="Name" :style="{width:'200px'}"></Column>
|
||||||
<Column field="country.name" header="Country" footer="Country" :style="{width:'250px'}"></Column>
|
<Column field="country.name" header="Country" footer="Country" :style="{width:'200px'}"></Column>
|
||||||
<Column field="date" header="Date" footer="Date" :style="{width:'250px'}"></Column>
|
<Column field="date" header="Date" footer="Date" :style="{width:'200px'}"></Column>
|
||||||
<Column field="balance" header="Balance" footer="Balance" :style="{width:'250px'}">
|
<Column field="balance" header="Balance" footer="Balance" :style="{width:'200px'}">
|
||||||
<template #body="{data}">
|
<template #body="{data}">
|
||||||
{{formatCurrency(data.balance)}}
|
{{formatCurrency(data.balance)}}
|
||||||
</template>
|
</template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column field="company" header="Company" footer="Company" :style="{width:'250px'}"></Column>
|
<Column field="company" header="Company" footer="Company" :style="{width:'200px'}"></Column>
|
||||||
<Column field="status" header="Status" footer="Status" :style="{width:'250px'}"></Column>
|
<Column field="status" header="Status" footer="Status" :style="{width:'200px'}"></Column>
|
||||||
<Column field="activity" header="Activity" footer="Activity" :style="{width:'250px'}"></Column>
|
<Column field="activity" header="Activity" footer="Activity" :style="{width:'200px'}"></Column>
|
||||||
<Column field="representative.name" header="Representative" footer="Representative" :style="{width:'250px'}"></Column>
|
<Column field="representative.name" header="Representative" footer="Representative" :style="{width:'200px'}"></Column>
|
||||||
</DataTable>
|
</DataTable>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue