

Column Oriented Table
source link: https://www.tuicool.com/articles/yEzyA3E
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.


Download + Demo
How To
Tables can be used to organize data in a two-dimensional grid so that correlation is clear to users.
The Column Oriented Table component has been designed for cases where each column is a meaningful unit.
Responsiveness
By default, the table is displayed using the standard, expanded table layout (rows + columns).
If you use one of the .cl-table--expanded@{breakpoint}
class modifiers, the layout is presented 1) in the collapsed (accordion-like) form before the breakpoint and 2) in the expanded form after the breakpoint. The collapsed variation is optimized for smaller screens.
Here's a list of the class modifiers:
.cl-table--expanded@xs .cl-table--expanded@sm .cl-table--expanded@md .cl-table--expanded@lg .cl-table--expanded@xl
For the accordion-like layout, the column headers are used as button labels (in thedemo, 'Spring', 'Summer', 'Autumn' and 'Winter').
If you want the row headers to be used as button labels, take a look at theRow Oriented Table component.
Column Width
If you want to set a fixed width for a table column, you can use one of the width utility classes . You can apply the width class only to one .cl-table__cell
element: all the other cells in the same columns will automatically adapt.
Please note that the width utility classes will affect only the table expanded layout (default rows + columns layout).
Alignment
To modify the content alignment within a cell, you can apply the following utility classes to the .cl-table__cell
element:
.text-left .text-center .text-right .align-top .align-middle .align-bottom
Sticky Header
If you want the header of the table to be sticky on scrolling (expanded layout only), you can add the .cl-table__header--sticky
class to the .cl-table__header
element (example).
Recommend
-
13
Retrieving the column from the HTML table advertisements How to get values from one column of HTML table using JavaScript? I want to ge...
-
13
Introduction In this article, we will learn how to calculate the sum of a table column in an Angular 10 application. Prerequisites Basic Knowledge of Angular 2 or higher
-
44
Technical Articles
-
14
How to store (or convert) a specific column of an ASCII file into a table using c ++? advertisements I am newbie in C++. I got an ASCII...
-
9
Is there a built-in way to limit a column in the sql server to a list of explicit values in the table design view? advertisements I have a t...
-
46
Technical Articles
-
13
jQuery: Calculate Sum Of all Textbox Values In a Table Column Satinder Singh / June 20, 2021 /
-
8
SQL SERVER – MAX Column ID Used in TableHow to find out how many columns a table had in the history of the table? An interesting question isn’t it. Well, we discussed this during
-
12
Blog Experimenting with column- and row-oriented datastructures Published on October 18, 2021 by Phil Eaton pythondata struct...
-
7
SQL SERVER QUERY to get the Number of Distinct column in the table advertisements This is the sample expected result table As you can s...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK