Table grid rendering in debuggin mode but not on published mode

Hello,

I have tested my application in the debugging mode. It shows the result appropraitly.

When i am trying to run the same application on the web , as a published app. it breaks dow.

Please suggest.

Debugging Mode.

image

Published App.