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

Getting the index for tr with the same index as the header "expand" th tag #61

Open
teckays opened this issue Sep 29, 2014 · 1 comment

Comments

@teckays
Copy link

teckays commented Sep 29, 2014

Would probably be better for me to create a pull request but it's late and I'm lazy. :) However, would be great to have var tds = $('td', tr); line: 398 as this: var tds = $('td, th', tr);, because I personally just dealt with a table generated from Django that had the <th> tag instead of <td> for the exact same column I wanted to make the expand on, which forced me to spend more than one hour until finding out that this is actually a <th> tag problem and not your or DT plugin.

@odignal
Copy link

odignal commented Oct 1, 2014

Having an expand icon on a header cell makes no sense, and a generated table should only contain in the first row (e. g. the header row), and tags in all other rows which contain actual data. Can you provide example code?

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