added an interface for the widget renderer added unit tests for the
gridded type