Fixed logic error in grid

Moved processSource() from constructor to getData()