Column groups and row groups

This article may lack focus or may be about more than one topic. Please help improve this article, possibly by splitting the article and/or by introducing a disambiguation page, or discuss this issue on the talk page. (December 2022)

|

This article relies excessively on references to primary sources. Please improve this article by adding secondary or tertiary sources.
Find sources: "Column groups and row groups" – news · newspapers · books · scholar · JSTOR (December 2022) (Learn how and when to remove this message)

|

Colored column groups and row groups in the periodic table of the chemical elements.

In tables and matrices, a column group or row group usually refers to a subset of columns or rows, respectively. Short names or notational names include col group or colgroup, and row group or rowgroup. They can have varying uses depending on context:

* In mathematics, a partitioned matrix is an interpretation of a matrix as being broken down into submatrices which may be more precisely referred to as a collection of row groups and column groups
* In web development, colgroup is a standard HTML attribute and an HTML event attribute, for example used for color formatting of entire columns in HTML tables.[1] The colgroup tag acts as a "parent container of one or more `<col>` elements".[2] Rowgroup is another HTML attribute.[3]
* In reporting[4] (including business reporting, data reporting and financial reporting), colgroups and rowgroups can be used for constructing tables and matrices which dynamically adjusts the size of their columns and rows, respectively, by displaying the set of columns in the colgroup set (which again is a subset of the underlying data).
* In reporting, colgroups and rowgroups can also be used for grouping of collapsible categories in the presentation of a table[5] (with or without aggregation for the groups[6]). One example of a use case may be if a table contains a lot of detailed information, but there is a want to display summarizing information of groups in the same table.[5]

## See also

[edit]

* Column (database)
* Group by (SQL)
* Row (database)
* Row and column vectors in mathematics
* Row and column spaces in mathematics
* Table (database)

## References

[edit]

1. ^ "HTML <colgroup> Tag". GeeksforGeeks. Retrieved 2022-11-30.
2. ^ "Colgroup HTML". W3schools. Retrieved 2022-11-30.
3. ^ "Web Hypertext Application Technology Working Group (WHATWG) - HTML Standard". html.spec.whatwg.org. Retrieved 2022-11-30.
4. ^ "Filter, group, and sort data in paginated reports - Microsoft Report Builder & Power BI Report Builder | Microsoft Learn". learn.microsoft.com. Retrieved 2022-11-30.
5. ^ a b "JavaScript Data Grid: Row Grouping - Group Rows". ag-grid.com. Retrieved 2022-11-30.
6. ^ "CloudTables - RowGroup". datatables.net. Retrieved 2022-11-30.

This article about matrices is a stub. You can help Wikipedia by expanding it.

|

* v
* t
* e

This database-related article is a stub. You can help Wikipedia by expanding it.

|

* v
* t
* e

*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template