Analogously to YaspGrid add an interface for SPGrid to create the grid by passing parameters explicitly instead of reading them from the parameter tree.