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

colspan #199

Closed
ghost opened this issue Oct 29, 2015 · 3 comments
Closed

colspan #199

ghost opened this issue Oct 29, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 29, 2015

I want to do some render table like:

[:table.table.table-bordered
[:tbody
[:tr
[:th {:colspan "2"} "2"]]
[:tr
[:th 1]
[:th 2]]]]

BUT, after rendered in browser (Chrome), there is no colspan property here, I have no idea what's wrong.

@gadfly361
Copy link
Member

This is a subtle gotcha, try :col-span instead.

React.js supports the attribute as colSpan, which is camelcase, and we just need to convert that to dashes instead.

@mike-thompson-day8
Copy link
Member

Similarly, auto-focus must be used instead of autoFocus.

@mike-thompson-day8
Copy link
Member

I believe this has been answered, so I'm closing.

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