You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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?
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 fromDjango
that had the<th>
tag instead of<td>
for the exact same column I wanted to make theexpand
on, which forced me to spend more than one hour until finding out that this is actually a<th>
tag problem and not your orDT
plugin.The text was updated successfully, but these errors were encountered: