Hello Anindya,
Please follow the steps below.
1) Remove the check from "Allow page breaks within content" in the sub form tab of DATA sub form. This is very important.
2) Click on the DATA sub form. In the layout tab, check the "Expand to Fit" option for height.