Hi I can't make grid update after hiding some elements (divs.display = none) , how to deal with it?
Activity
[-]How to change gride size from buttons?[/-][+]How to update grid after changes?[/+][-]How to update grid after changes?[/-][+]How to update grid after hiding some divs?[/+]Jackky90 commentedon Nov 22, 2023
Hi! Try
syncElements()
method on grid, likegrid.syncElements()
Nickonimus commentedon Nov 22, 2023
Grid updates with grid.syncElements() but only after .remove() of items, so can't figure out how to turn grid back after search.
Nickonimus commentedon Nov 22, 2023
@malangfox
Hi, seems like this problem has presence only with JustifiedGrid, tested on MasonryGrid and it reupdates immediately. Can you please check?