Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (46 sloc) 1.164 kb
table.simple-table {
border: solid #777;
border-width: 0px 0px 1px 1px;
margin-top: 8px;
table.simple-table thead {
background: #777;
border-bottom: 1px solid #333;
color: #fff;
table.simple-table tfoot {
background: #ccc;
border-top: 1px solid #333;
color: #777;
table.simple-table td, table.simple-table th {
padding: 4px;
border-right: 1px solid #777;
border-top: 1px solid #777;
You should see a table below with two columns and the words "I work" in it.
<!-- no html -->
<script src="/depender/build?require=More/HtmlTable"></script>
// create blank table with no options
var table = new HtmlTable({
properties: {
// set some headers
// inject table into myElement
// push data to the table
// this is the trouble spot, it removes the tbody tag from the table
// at this stage if you call, the below push will work
// if you try to push rows into the table now it wont work as the tbody tag is missing
Jump to Line
Something went wrong with that request. Please try again.