2016-06-22 9 views
0

Ich versuche, ein Bootstrap-Label zu einem <th>-Feld hinzuzufügen, das ich in der Bootstrap-Tabelle habe, damit ich die Ergebnisse der Felder in einem Label anzeigen lassen kann. Was ist der beste Weg, um dies zu erreichen? Die <span> innerhalb der <th> bringt nicht das gewünschte Ergebnis. Ich möchte nur, dass die Ergebnisse Labels sind - ist das möglich?Bootstrap-Labels in Bootstrap-Tabellen verwenden

<table id="medicationtable"> 
    <thead> 
    <tr> 
     <th data-field="Medication_Name">Medication Name</th> 
     <th data-field="Read_Code">Read Code</th> 
     <th data-field="Dose">Dose</th> 
     <th data-field="Date_Started">Date Started</th> 
     <th data-field="Date_Ended">Date Ended</th> 
    </tr> 
    </thead> 
</table> 

Antwort