We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94bc013 commit 7129b97Copy full SHA for 7129b97
source/components/datatable.md
@@ -151,6 +151,9 @@ columns: /* array of Objects */ [
151
// * is 0 then leave a and b unchanged with respect to each other, but sorted with respect to all different elements
152
// * is greater than 0 then sort b to an index lower than a, i.e. b comes first
153
154
+ // (optional) you can format the data with a function
155
+ format: val => `${val}%`
156
+
157
// v0.17.9+; if using scoped slots, apply this yourself instead
158
style: 'width: 500px',
159
classes: 'my-special-class'
0 commit comments