changed to make grids property can be supplied from external config.

a patch same as:
https://github.com/tudor-malene/Easygrid/issues/9#issuecomment-19027082