Skip to content
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

How resize column width? #350

Open
Jefferson210 opened this issue Aug 2, 2017 · 1 comment
Open

How resize column width? #350

Jefferson210 opened this issue Aug 2, 2017 · 1 comment

Comments

@Jefferson210
Copy link

I tried this

<%= grid(@geneticBank) do |h|
h.column name: 'Code', attribute: 'code',html: {style: 'column-width: 200px;'}, assoc: :genetic_bank
end-%>

thanks.

@leikind
Copy link
Owner

leikind commented Aug 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants