-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Width doesn't work #15
Comments
Hey @joshangell the width settings are actually stored in the Super Table field settings, associated with the field id. When the input gets rendered, it should fetch the ST field settings, and lookup the array for that field's id.
|
If I do |
Good point - the width isn't being applied to the table header, but it is on the table rows. Have a look at https://github.com/engram-design/SuperTable/blob/master/supertable/templates/fields.html#L12 |
@joshangell Fixed in the 0.3.1 release. |
When configuring the columns of the field there is a width option, it doesn't appear to do anything.
I took a quick look and it seems that the columns are generated using
table.getFields()
and the field model doesn't have the column width set on it so its not a simple solution of templating in the width value.I'd suggest either using the column settings natively or perhaps extending the native
FieldModel
.The text was updated successfully, but these errors were encountered: