Hi Raman,
Please share your code, i would tweak it to make it work.
Check if you have used updateGrid(true) or not.
Otherwise, i would have to re-created whole scenario that may require some time.
Below link would further help you to play with these properties.
Thanks,
Swaroop