vuejs-datatable icon indicating copy to clipboard operation
vuejs-datatable copied to clipboard

Column Typing

Open Khazl opened this issue 5 years ago • 2 comments

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.

Khazl avatar Dec 20 '19 13:12 Khazl

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.

GerkinDev avatar Dec 22 '19 13:12 GerkinDev

Oops, reopening for documentation improvements tracking.

GerkinDev avatar Dec 22 '19 13:12 GerkinDev