TWebstringgrid insertcolumn error in release mode

When running the following line of code WebStringGrid1.insertcolumn(WebStringGrid.colcount) it fails in release mode, (in debug mode it works fine) attached images of the error.


Looking at the definition of insertcolumn in the resulting JS there is no definition of "tr" in release mode.

I attach the project where I recreate the problem
proto insert column (16.0 KB)

Thanks for reporting.
We traced & solved this issue. v2.0.0.2 will address this.