TWebStringGrid initialization error?

I seem to have run into a problem after upgrading from TMS Web Core 1.9.0.0 to 1.9.6.0.

If I add a TWebStringGrid to a form and don't change anything, it appears fine. But if I set the RowCount property value to 1 in the IDE, it gives an error when the form loads and stops rather abruptly at that point?

Uncaught TypeError: Cannot read properties of null (reading 'rows')
    at Object.rtl.module.rtl.createClass.RowCountChanged (Project1.js:1)
    at Object.rtl.module.rtl.createClass.SetRowCount (Project1.js:1)
    at Object.rtl.module.rtl.createClass.LoadDFMValues (Project1.js:1)
    at Object.rtl.module.rtl.createClass.DoCreate (Project1.js:1)
    at Object.rtl.module.rtl.createClass.Create$5 (Project1.js:1)
    at Object.i.$create (Project1.js:1)

I'll try and change that value in the WebFormCreate instead of the IDE instead? Not sure what else to try as this comes up in a spot that seems difficult to work around otherwise?

Thanks for reporting.
We could reproduce this. We have traced & fixed this issue. The next update will address this.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.