add multiple grid support to gridData