Skip to content

Instantly share code, notes, and snippets.

@EdwinBetanc0urt
Last active August 15, 2019 20:54
Show Gist options
  • Save EdwinBetanc0urt/c6b183282a41713a756ff134ed986793 to your computer and use it in GitHub Desktop.
Save EdwinBetanc0urt/c6b183282a41713a756ff134ed986793 to your computer and use it in GitHub Desktop.
<template v-else-if="item.componentPath === 'Date' || item.componentPath == 'Time'">
<!-- replace number timestamp value for date -->
{{ typeof scope.row[item.columnName] === 'number' ? new Date(scope.row[item.columnName]) : scope.row[item.columnName] }}
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment