GerkinDev/vuejs-datatable

Column Typing

Khazl opened this issue ยท 2 comments

Khazl commented

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 ๐Ÿ“š the tutoials ๐Ÿ“š & ๐Ÿ“š the API docs ๐Ÿ“š, 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.