Manipulate Row Values in a Nuxt UI's UTable
I am trying to manipulate the date column of my UTable to change the date format.
6 Replies
I want to date format to be something like this
Template code
Script code
So to represent the date in that format, you'd want something like the below
You can either apply it to the column of your dataset, or apply it on that data by expanding out the template
https://ui.nuxt.com/components/table#column-data
Also in future, just copy the code and provide a bit more context, as it means i could just run it locally and ensure it's working 100% instead of inferring.
Hi
Thank you so much for responding
I've attempted to implement your suggestion
With the help of it, I have learnt something new about
UTable
in the Nuxt UI library.
I managed to solve the issue in this way: