vuejs-datatable
vuejs-datatable copied to clipboard
Column Typing
I have a column named quantity and in my rows I only pass numbers for this column. But they all aligned left (number should be aligned at the right). Is there any attribute I can pass through my column to force a numeric layout?
I checked the documentation but didn't find anything.
As said in :books: the tutoials :books: & :books: the API docs :books:, you can use the align
column attribute. See the API doc (2nd link) for possible values. There is no support of typing for now, but a similar need was also mentioned in #86. I may add this in the next iterations.
Oops, reopening for documentation improvements tracking.