Apply the grid state listener to entity grids