Yes, I tested it on a website and converting it to mongoYii.
But certainly $this->modelClass is never null in the management of cGridView