updating gridrenderer constructor signature to accept all types of accessors.