$$(id) append does not fully apends tr and td elements

Come across a problem where I needed to dynamically add a rows to an html table.
Thing is, when I added these rows via $$ F7 selector and append function, it only added raw data and not the tr and td html elements.

I used Jquery $ and append function and it works ok.

Im using v3 of f7, I dont know if this problem is solved in recent versions or if I am making the mistake of using the incorrect function.

Instead of using direct HML like:

$('tbody').append('<tr>...</tr>')

Add elements like so:

$('tbody').append($('<tr>...</tr>'))
2 Likes

Wo that was fast, I will definetly try it out!