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
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
Post a Comment