Ebiwandiiko n'ebyokulabirako by'okulonda-mu sitayiro y'emmeeza (okusinziira ku nkozesa yazo emanyiddwa mu JavaScript plugins) ne Bootstrap.
Eby’okulabirako
Olw'okukozesa ennyo emmeeza mu widgets z'abantu ab'okusatu nga kalenda n'abalonda ennaku, tukoze emmeeza zaffe okubeera opt-in . Just add the base class .tableto any <table>, olwo ogaziye n'emisono egy'enjawulo oba kiraasi zaffe ez'enjawulo eziteekeddwamu modifier.
Nga okozesa akabonero k'emmeeza akasinga obukulu, wuuno engeri .table-emmeeza ezisinziira ku ngeri gye zirabika mu Bootstrap. Emisono gyonna egy’emmeeza gisikira mu Bootstrap 4 , ekitegeeza nti emmeeza zonna eziteekeddwa mu kisenge zijja kukolebwa sitayiro mu ngeri y’emu ng’omuzadde.
Gattako .table-borderedfor borders ku njuyi zonna ez'emmeeza n'obutoffaali.
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry Ekinyonyi
@twitter
<tableclass="table table-bordered"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry Ekinyonyi
@twitter
<tableclass="table table-bordered table-dark"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
<tableclass="table table-borderless"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
.table-borderlessera esobola okukozesebwa ku mmeeza enzirugavu.
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry Ekinyonyi
@twitter
<tableclass="table table-borderless table-dark"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
Ennyiriri eziyinza okuwuuma
Okwongerako .table-hoverokusobozesa embeera ya hover ku nnyiriri z'emmeeza munda mu <tbody>.
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry Ekinyonyi
@twitter
<tableclass="table table-hover"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry Ekinyonyi
@twitter
<tableclass="table table-hover table-dark"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
<tableclass="table table-sm"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry Ekinyonyi
@twitter
<tableclass="table table-sm table-dark"><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><tdcolspan="2">Larry the Bird</td><td>@twitter</td></tr></tbody></table>
Ebisulo ebikwata ku mbeera
Kozesa kiraasi ezikwata ku mbeera okukuba langi ku nnyiriri z’emmeeza oba obutoffaali obw’enjawulo.
Essomo
Omutwe
Omutwe
Obunyiikivu
Ekatoffaali
Ekatoffaali
Okukosamu
Ekatoffaali
Ekatoffaali
Pulayimale
Ekatoffaali
Ekatoffaali
Ekyokubiri
Ekatoffaali
Ekatoffaali
Okuyita
Ekatoffaali
Ekatoffaali
Akabi
Ekatoffaali
Ekatoffaali
Okulabula
Ekatoffaali
Ekatoffaali
Info
Ekatoffaali
Ekatoffaali
Koleeza
Ekatoffaali
Ekatoffaali
Ekizikiza
Ekatoffaali
Ekatoffaali
<!-- On rows --><trclass="table-active">...</tr><trclass="table-primary">...</tr><trclass="table-secondary">...</tr><trclass="table-success">...</tr><trclass="table-danger">...</tr><trclass="table-warning">...</tr><trclass="table-info">...</tr><trclass="table-light">...</tr><trclass="table-dark">...</tr><!-- On cells (`td` or `th`) --><tr><tdclass="table-active">...</td><tdclass="table-primary">...</td><tdclass="table-secondary">...</td><tdclass="table-success">...</td><tdclass="table-danger">...</td><tdclass="table-warning">...</td><tdclass="table-info">...</td><tdclass="table-light">...</td><tdclass="table-dark">...</td></tr>
Enkyukakyuka z'emabega w'emmeeza eza bulijjo teziriiwo na mmeeza enzirugavu, naye, oyinza okukozesa ebikozesebwa mu biwandiiko oba eby'emabega okutuuka ku sitayiro ezifaanagana.
# .
Omutwe
Omutwe
1.
Ekatoffaali
Ekatoffaali
2.
Ekatoffaali
Ekatoffaali
3.
Ekatoffaali
Ekatoffaali
4.
Ekatoffaali
Ekatoffaali
5.
Ekatoffaali
Ekatoffaali
6.
Ekatoffaali
Ekatoffaali
7.
Ekatoffaali
Ekatoffaali
8.
Ekatoffaali
Ekatoffaali
9.
Ekatoffaali
Ekatoffaali
<!-- On rows --><trclass="bg-primary">...</tr><trclass="bg-success">...</tr><trclass="bg-warning">...</tr><trclass="bg-danger">...</tr><trclass="bg-info">...</tr><!-- On cells (`td` or `th`) --><tr><tdclass="bg-primary">...</td><tdclass="bg-success">...</td><tdclass="bg-warning">...</td><tdclass="bg-danger">...</td><tdclass="bg-info">...</td></tr>
Okutuusa amakulu mu tekinologiya ayamba
Okukozesa langi okwongera amakulu kiwa ekiraga ekirabika kyokka, ekitajja kutuusibwa eri abakozesa tekinologiya ayamba – gamba ng’ebisoma ku ssirini. Kakasa nti amawulire agalagirwa langi oba geeyoleka okuva mu birimu byennyini (okugeza ekiwandiiko ekirabika), oba gateekebwamu okuyita mu ngeri endala, gamba ng’ebiwandiiko ebirala ebikwekebwa ne .sr-onlykiraasi.
Tonda emmeeza eziddamu ng’ozinga yonna .tablene .table-responsive{-sm|-md|-lg|-xl}, ng’okola emmeeza okutambula mu bbanga ku buli kifo max-widtheky’okumenyawo okutuuka ku (naye nga tobaliddemu) 576px, 768px, 992px, ne 1120px, mu kulondako.
Weetegereze nti okuva browsers mu kiseera kino teziwagira
range context queries , tukola okwetoloola obukwakkulizo bwa
min-ne max-prefixes ne viewports ne fractional widths (ebiyinza okubaawo wansi w’embeera ezimu ku high-dpi devices, okugeza) nga tukozesa values n’obutuufu obw’oku ntikko ku kugeraageranya kuno .
Ebigambo ebiwandiikiddwa ku bigambo
A <caption>ekola nga omutwe gw’emmeeza. Kiyamba abakozesa abalina screen readers okuzuula emmeeza n’okutegeera kye kikwatako ne basalawo oba baagala okugisoma.
Olukalala lw'abakozesa
# .
Okusooka
Okusembayo
Okukwaata
1.
Mark
Otto bwe yabadde
@mdo
2.
Yakobo
Thornton nga bwe kiri
@obunene
3.
Larry
Ekinyonyi
@twitter
<tableclass="table"><caption>List of users</caption><thead><tr><thscope="col">#</th><thscope="col">First</th><thscope="col">Last</th><thscope="col">Handle</th></tr></thead><tbody><tr><thscope="row">1</th><td>Mark</td><td>Otto</td><td>@mdo</td></tr><tr><thscope="row">2</th><td>Jacob</td><td>Thornton</td><td>@fat</td></tr><tr><thscope="row">3</th><td>Larry</td><td>the Bird</td><td>@twitter</td></tr></tbody></table>
Emmeeza eziddamu
Emmeeza eziddamu zisobozesa emmeeza okutambula mu bbanga mu ngeri ennyangu. Fuula emmeeza yonna okuddamu mu bifo byonna eby'okulaba ng'ozinga a .tablene .table-responsive. Oba, londa ekifo ekisinga obunene eky’okumenyawo kw’olina okuba n’emmeeza eddamu okutuukako ng’okozesa .table-responsive{-sm|-md|-lg|-xl}.
Okusala/okusalako mu ngeri eyeesimbye
Emmeeza eziddamu zikozesa overflow-y: hidden, esalako ebirimu byonna ebisukka wansi oba waggulu ku mbiriizi z’emmeeza. Okusingira ddala, kino kiyinza okusalako menu ezikka wansi ne widgets endala ez’ekibiina eky’okusatu.
Bulijjo addamu
Across buli breakpoint, kozesa .table-responsiveku horizontally scrolling emmeeza.
Kozesa .table-responsive{-sm|-md|-lg|-xl}nga bwe kyetaagisa okukola emmeeza eziddamu okutuuka ku kifo ekimu eky’okumenyawo. Okuva ku kifo ekyo eky’okumenya n’okudda waggulu, emmeeza ejja kweyisa mu ngeri eya bulijjo so si kutambula mu bbanga.
Emmeeza zino ziyinza okulabika nga zimenyese okutuusa nga sitayiro zazo ez'okuddamu zikola ku bugazi bw'ekifo eky'okulaba obw'enjawulo.