Hi,
I’ve a <ul>
list with ajax pager where want apply the masonry plugin with this ul tag definition:
<ul role="listbox" data-role="listview" class="products product-thumb-info-list k-widget k-listview" data-plugin-masonry="data-plugin-masonry" data-plugin-options="{'layoutMode': 'fitRows'}" id="ListView" style="border-style: none; position: relative; height: 1838.67px;">
The first time that the page is loaded the masonry plugin is applyed correctly to the <li>
element inside <ul>.
When I change page new <li>
elements are loaded but the masonry plugin it’s not applyed to the new element.
How can I call via javascript the request to apply masonry to the new elements ?
Thanks,
Flavio