jquery mobile reflow table refresh issue -


hi everbody trying use jquery mobile reflow mode , try update contents dynamically using refresh code provided in jquery mobile demos link . when try update appending data previous values (especially in mobile screen only) not in desktop posting image of 1 below. have body experience kind of behavior or bug enter image description here

you must refresh table , use .trigger('create') avoid duplicated label

try use :

var row = "<tr><td></td></tr>" $("#yourtable").append(row); $("#yourtable").trigger("create"); $("#yourtable").table("refresh"); 

if have loop try use :

for() {     var row = "<tr><td></td></tr>"     $("#yourtable").append(row); } $("#yourtable").trigger("create"); $("#yourtable").table("refresh"); 

Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -