The "Problem in nested qdatagrid" is addressed here

See the http://qcu.be/content/problem-nested-qdatagrid for the problem explanation and the original patch.
With all the bugfixes merged in, the generated  type-table code was broken.
Merge pull request #223 from olegabr/bug-nestedQDatagridPagination

Bug in nested qdatagrid pagination fixed