Dukumeenti iyo tusaaleyaal door-bixsiga qaabaynta miisaska (iyada oo la siinayo isticmaalkooda baahsan ee JavaScript plugins) oo wata Bootstrap.
Tusaalooyinka
Sababo la xiriira isticmaalka baahsan ee miisaska guud ahaan widget-yada qolo saddexaad sida jadwaladaha iyo taariikhda-doorayaasha, waxaanu u qaabaynnay miisaskayada inay noqdaan kuwo doorta . Kaliya ku dar fasalka aasaasiga ah .tablemid kasta <table>, ka dibna ku kordhi qaababka gaarka ah ama fasaladayada kala duwan ee wax ka beddelka ku jira.
Isticmaalka calaamadaynta miiska ugu aasaasiga ah, halkan waa sida .tablemiisaska ku salaysan u eegaan Bootstrap. Dhammaan qaababka miiska waxaa lagu dhaxlayaa Bootstrap 4 , taasoo la micno ah in miisas kasta oo buul ah loo qaabeeyey si la mid ah habka waalidka.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
Waxa kale oo aad rogi kartaa midabada—oo wata qoraal khafiif ah oo asal madow ah—oo wata .table-dark.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
Doorashooyinka madaxa miiska
Si la mid ah miisaska iyo miisaska mugdiga ah, isticmaal fasallada wax ka beddelka .thead-lightama .thead-darksi aad <thead>s ugu muuqato iftiin ama cawl madow.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
Safafka la jeexay
Isticmaal .table-stripedsi aad ugu darto xariijimo zebra saf kasta oo ku dhex jira <tbody>.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
Miis xuduudeed
Ku dar .table-borderedsoohdimaha dhammaan dhinacyada miiska iyo unugyada.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
Miis aan xuduud lahayn
Ku dar .table-borderlessmiis aan xuduud lahayn.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
.table-borderlessWaxa kale oo loo isticmaali karaa miisaska mugdiga ah.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
Safafka lulsan kara
Ku dar .table-hoversi aad awood ugu yeelatid heerka duleelka ee safafka miiska gudaha a <tbody>.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
Miis yar
Ku dar .table-smsi aad miisaska uga dhigto kuwo is haysta adiga oo gooyay suufka unugga kala badh.
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry the Bird
@twitter
Fasalada macnaha guud
Isticmaal fasallada macnaha guud si aad u midabayso safafka miiska ama unugyada gaarka ah.
Fasalka
Ciwaanka
Ciwaanka
Firfircoon
Unug
Unug
Asal ahaan
Unug
Unug
Asal ahaan
Unug
Unug
Sare
Unug
Unug
Guul
Unug
Unug
Khatarta
Unug
Unug
Digniin
Unug
Unug
Xog
Unug
Unug
Iftiin
Unug
Unug
Madow
Unug
Unug
Kala duwanaanshaha asalka caadiga ah ee miiska lama heli karo miiska mugdiga ah, si kastaba ha ahaatee, waxaad isticmaali kartaa qoraalka ama agabka dambe si aad u gaarto qaabab isku mid ah.
#
Ciwaanka
Ciwaanka
1
Unug
Unug
2
Unug
Unug
3
Unug
Unug
4
Unug
Unug
5
Unug
Unug
6
Unug
Unug
7
Unug
Unug
8
Unug
Unug
9
Unug
Unug
U gudbinta macnaha tignoolajiyada caawinta
Isticmaalka midabka si loogu daro macnaha kaliya waxay bixisaa tilmaam muuqaal ah, taas oo aan loo gudbin doonin isticmaalayaasha tignoolajiyada caawinta - sida akhristayaasha shaashadda. Hubi in macluumaadka lagu tilmaamay midabku ay ka cad yihiin waxa ku jira laftiisa (tusaale qoraalka muuqda), ama lagu soo daro habab kale, sida qoraal dheeraad ah oo .sr-onlyfasalka dhexdiisa ku qarsoon.
Samee jadwal jawaab celin leh adigoo ku duubaya mid kasta , .tableadoo .table-responsive{-sm|-md|-lg|-xl}ka dhigaya miiska si toosan ugu rogrogmado meel kasta oo max-widthjaban oo ah ilaa (laakiin aan lagu darin) 576px, 768px, 992px, iyo 1120px, siday u kala horreeyaan.
Shaqooyin sida <caption>miiska loo socdo. Waxay ka caawisaa isticmaalayaasha akhristayaasha shaashadda si ay u helaan miis oo ay fahmaan waxa ku saabsan oo ay go'aansadaan haddii ay rabaan inay akhriyaan.
Liiska isticmaalayaasha
#
Marka hore
Dambe
Qabasho
1
Calaamadee
Otto
@mdo
2
Yacquub
Thornton
@ buuran
3
Larry
Shimbirka
@twitter
Miisaska jawaab celinta
Jadwalka jawaabaha leh ayaa u oggolaanaya miisaska in si sahlan loo rogo si toos ah. Miis kasta ka dhig mid u jawaabaya dhammaan goobaha daawashada adiga oo ku .tableduubaya .table-responsive. Ama, soo qaado meesha ugu sarreysa ee aad ku yeelan karto miis jawaab celin leh adigoo isticmaalaya .table-responsive{-sm|-md|-lg|-xl}.
Goyn toosan/goyn
Miisaska ka jawaaba ayaa isticmaala overflow-y: hidden, kaas oo gooya wax kasta oo ka baxsan cidhifyada hoose ama sare ee miiska. Gaar ahaan, tani waxay gooyn kartaa liiska hoos-u-dhaca iyo aaladaha kale ee qolo saddexaad.
Had iyo jeer u jawaaba
Meel kasta oo jaban, isticmaal .table-responsivemiisaska si toosan u rogrogaya.
#
Ciwaanka
Ciwaanka
Ciwaanka
Ciwaanka
Ciwaanka
Ciwaanka
Ciwaanka
Ciwaanka
Ciwaanka
1
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Unug
2
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Unug
3
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Unug
Burbur gaar ah
Isticmaal .table-responsive{-sm|-md|-lg|-xl}hadba sida loogu baahdo si aad u abuurto jadwal jawaab celin ah ilaa meel goyn gaar ah. Laga bilaabo meeshaas jaban iyo kor, miisku si caadi ah ayuu u dhaqmi doonaa oo si siman uma rogrogmi doono.
Jaantusyadani waxa laga yaabaa inay u muuqdaan kuwo jaban ilaa qaababkooda ka jawaabaya lagu dabaqo ballaadhka muuqaalka gaarka ah.