jquery - calculating <col> width in chrome -
has found reliable way calculate width of <col>
element in chrome?
i writing jquery plugin need calculate widths of table columns, , using <col>
reliable way both , set widths. problem cant read them in chrome.
here fiddle not impossible find out width of 2nd column in chrome:
my challenge: find width of 2nd column in chrome without having append row table.
edit: crux this:
elements 'display' set 'table-column' or 'table-column-group' not rendered (exactly if had 'display: none'), useful, because may have attributes induce style columns represent.
this isn't want, here fiddle calculates column width:
as far can tell, <col>
elements have no size since not rendered elements. size of column, need measure actual <td>
or <th>
elements in table.
Comments
Post a Comment