You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would attempt to do it myself and submit a pull request but ill probably stuff it up :P. But with the headers object in the v-data-table, adding the support of a formatter function that is used to know what value to render. Situation of it being useful is a table that has many Date objects and you currently have to slot every single one to format it as a date.
While i know i could modify the actual value in the object to be the formatted one, this breaks sorting and other features, being able to just add a function to the headers object would save alot. Just an idea
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would attempt to do it myself and submit a pull request but ill probably stuff it up :P. But with the headers object in the v-data-table, adding the support of a
formatter
function that is used to know what value to render. Situation of it being useful is a table that has many Date objects and you currently have to slot every single one to format it as a date.While i know i could modify the actual value in the object to be the formatted one, this breaks sorting and other features, being able to just add a function to the headers object would save alot. Just an idea
Beta Was this translation helpful? Give feedback.
All reactions