salvattore icon indicating copy to clipboard operation
salvattore copied to clipboard

Salvattore strips elements of the grid from their container

Open ghost opened this issue 9 years ago • 2 comments

Hi,

after trying to make appendElements work I decided to give up and try adding a new grid to the page using recreateColumns. Well here is what happens (just press the green button): https://www.ridble.com/produttori/apple/

I can't also make any of these API work with jQuery, but at this point I don't really care...

ghost avatar Oct 12 '15 21:10 ghost

try using registerGrid instead of recreateColumns after ajax complete. That worked for me.

jmacaluso711 avatar Oct 27 '15 20:10 jmacaluso711

Had the same issue. Calling registerGrid before recreateColumns (or rescanMediaQueries) solves it.

Is this the proper way to solve it, though? Feels like the "previous" grid should be destroyed somehow.

marcobarbosa avatar May 18 '16 09:05 marcobarbosa