Dynamically Adding Rows to Reflow Table
I've started using the 1.3 JQM beta today and I'm having trouble adding rows to a reflow table and getting them to format correctly.
The table starts with a header and a few rows and then I pull some more rows in and add them with JQuery. This looks fine as long as the screen is large enough not to reflow the table into the vertical mode. If the table goes into vertical mode, all the rows that I have added are not given labels like the ones that began.
for(transaction in transactions) {
$("#reflow-basic tbody").append($("<tr>\n")
.append("<th>"+transactions[transaction].date+"</th>\n")
.append("<td>"+transactions[transaction].description+"</td>\n")
.append("<td>$"+transactions[transaction].amount+"</td>\n")
.append("<td>$"+transactions[transaction].matched+"</td>\n")
.append("<td>$"+transactions[transaction].total+"</td>\n")
.append("</tr>"));
}
I figured this was similar to how the listview must be refreshed by calling ".listview("refresh") but the table has no option for a similar refresh. Am I missing something?