Web Component: j-TableGrid
The component makes a simple table grid (composed of div
elements) divided by a simple border that you can modify.
- jComponent
v19|v20
Configuration:
count
{Number}
a default count of items per rowcountxs
{Number}
items per row for mobile displaycountsm
{Number}
items per row for small displaycountmd
{Number}
items per row for medium displaycountlg
{Number}
items per row for a large displayparent
{String}
for obtaining size (default:window
)margin
{Number}
a vertical margin (default:0
)scrollbar
{Boolean}
enables custom scrollbar (default:false
)fill
{Boolean}
fills the grid with empty rowsm need to definerow
andscrollbar
row
{Number}
a default row height for all displays (default:0
)rowxs
{Number}
a default row height for mobile display (default:0
)rowsm
{Number}
a default row height for small display (default:0
)rowmd
{Number}
a default row height for medium display (default:0
)rowlg
{Number}
a default row height for large display (default:0
)scrolltop
{Boolean}
scrolls to the top after change data (default:true
)
Classes:
ui-tablegrid-bl
means border-leftui-tablegrid-bt
means border-topui-tablegrid-first
first item in the rowui-tablegrid-last
last item in the rowui-tablegrid-empty
empty item
Author
- Peter Širka petersirka@gmail.com
- License
Created
30. january 2022
Updated
31. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Dark mode
Yes
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com