Code: Select all
<DataTable :value="priceCards" :paginator="false" responsiveLayout="stack" breakpoint="960px">
<!-- <template #loading> Loading calls data. Please wait. </template> -->
<Column>
<template #header>
<i class="pi pi-check text-sm mr-1"></i>I am working
</template>
<template #body="{ data }">
{{ data.data.is_working_day }}
</template>
</Column>
<Column>
<template #header>
<i class="pi pi-calendar text-sm mr-1"></i>Day
</template>
<template #body="{ data }">
{{ data.price_card_day.description }}
</template>
</Column>
</DataTable>
DesktopView
Mobile or Responsive View