Can you update to Mendix 10 ?
There is an updated Document Creator. With this new Document Creator its much bether/easier to create Templates.
I am testing it in my own document template and I don't see any spacing in my rows, looks like some spacing is added above the rows in your case.
Can you check this, or show me a screenshot of how your grid is set up?
i am using this grid setup.can you tell me how to give without space.?
no ,i remove gear but again showing space
Try to remove the paddings for the list of rows which you have been created in the gridsetup which you have done it will remove the spaces.