Changes for #2516

Using `find` instead of `children` everywhere for finding the table in the grid.
So eg. `<div class="items-wrapper">{items}</div>` should always work now.