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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -