Table
Component
The Table
component is a simple way to present row-column matrix-based data
since the early HTML. It tabulates data in an organize way for searches and
comparison. Bissetii supports mobile friendliness rendering table, allowing it
to be friendly for viewing table in mobile devices.
This component is available starting from v1.11.0
.
Hugo
Hugo supports Table
seamlessly so no special development is required.
Go
Coming Soon.
HTML
Bissetii supports Table
component seamlessly across multiple output formats.
Additionally, starting from version v1.13.0
, the use of CSS variable is vital
for its upgrade from v1.12.5
.
The HTML codes for this component are the same for Vanilla HTML5 and AMPHTML.
Also, Bissetii is very strict with <thead>
and <tbody>
conventions for
styling the appropriate titles.
Bissetii uses the conventional HTML table syntax instead of the custom types HTML. To facilitate mobile-friendliness, the y-direction overflow is enabled with scrolling automatically.
|
|
Here is a rendering example:
Header 1 | Header 2 | Header 3 | Header 4 |
---|---|---|---|
Data 1,1 |
Data 1,2 |
Data 1,3 |
Data 1,4 |
Data 2,1 |
Data 2,2 |
Data 2,3 |
Data 2,4 |
Data 3,1 |
Data 3,2 |
Data 3,3 |
Data 3,4 |
Data 4,1 |
Data 4,2 |
Data 4,3 |
Data 4,4 |
CSS
Bissetii provided a list of CSS variables dedicated for Table
styling
alteration without needing to recompile Sass. These variables are best applied
directly to the <table>
HTML tags. Example:
|
|
Javascript
This component does not rely on any Javascript.
Sass
Depending on release version, the Sass files work differently. Bissetii does not package Sass codes explictly so please view them via the git repository.
v1.13.0
and Above
Bissetii uses Dart Sass to compile the styling Sass codes into CSS file. This component’s Sass codes are available at the following location:
pkg/components/internal/table
v1.12.5
and Before
The Sass scripts responsible for styling the component are located in:
assets/css/bissetii/modules/core/_Table.scss
Researches
Here are the researches done to ensure Table
component meets the necessary
quality assurances:
SCHEDULED COMING SOON
Epilogue
That’s all about Table
component in Bissetii. If you need more feature or
need to report a bug, please feel free to file an issue at our
Issue Section.