Questions tagged [colgroup]

Relating to HTML, the colgroup represents a group of columns in an HTML table.

Description

In HTML - <colgroup> element defines a group of columns within a table and allows to set attributes that might otherwise have to be set at <col> level on a number of col elements simultaneously — the attributes defined at this higher level apply to all of the child columns.

References

  1. W3C Specification
  2. colgroup - MDN Link
35 questions
0
votes
1 answer

lose Resize of extendedDatatable after click on button h:commandButton

I am working in Jsf with Richfaces. I custom the rich:extendedDataTable by adding a javascript file to allow resize the column's width. So i have a rich:extendedDataTable as a head Table, I do this steps : The table contains many lines of data. I…
0
votes
1 answer

Toggle table columns with

Just discovered the tag. Trying to use that to toggle columns. Works for stuff like background color, but not hiding. http://www.w3schools.com/tags/tag_colgroup.asp table-column is a display property too, so I was thinking, yes,…
Ole Sørensen
  • 349
  • 5
  • 19
0
votes
1 answer

Add labels to the top of colgroups?

I have my colgroups generated dynamically and they style each group with a background color. Is there a way to add a label on top of each group? My colgroup looks like this:
TruMan1
  • 33,665
  • 59
  • 184
  • 335
0
votes
1 answer

Apply colgroup class only to some rows

I am trying to separate a group of columns with a border and I am having troubles to keep the headers and footers without that border. Here's a fiddle with the example: http://jsfiddle.net/cgVHz/1/ As you can see, the two headers of the table also…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
0
votes
1 answer

Jquery selects wrong table's colgroup

I have the following two tables. I'd like colgroups for each to highlite with a mouseover, using jquery.
Kushboy
  • 43
  • 1
  • 5
1 2
3