Vue-tables-2: Fixed column widths?

Created on 9 Feb 2017  路  3Comments  路  Source: matfish2/vue-tables-2

Is there any way to set some columns widths?

Most helpful comment

Not an option when the user can deselect columns.

All 3 comments

Yes. Use CSS. E.g:

tr td:nth-child(2) {
    width: 100px;
}

Not an option when the user can deselect columns.

It would be nice if we were able to set it programmatically via the options. Because indeed, using CSS if the user can show/hide columns gets tricky.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jigarzon picture jigarzon  路  3Comments

molerat619 picture molerat619  路  4Comments

greenpdx picture greenpdx  路  4Comments

seivad picture seivad  路  3Comments

manrix picture manrix  路  3Comments