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.
![msedge_JhfCkhHehj](https://support.tmssoftware.com/uploads/default/original/2X/9/927b79769c3911d53ad6dbb44dc64d1376daada0.png)
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 webstringgrid.zip (16.0 KB)