Oh. I sure you meant just a function, because gridPage also available only in that context. nvm here.