Update - We are currently using TMS Pack for Firemonkey v220.127.116.11
Thank you for the additional information, we were testing this here on Windows. You can send the project to firstname.lastname@example.org with a reference to this forum post. I will take a look at it as soon as possible.
Much appreciated, Pieter - I've sent it via email (direct) to email@example.com. I've also modified the project to use TClientDataSet as requested.
Thank you for your project ,will take a look at it as soon as possible.
May have found a way to reproduce this reliably. It seems when we set grid.Options.DirectEdit := True, we receive the "Invalid Class Typecast" error. However, when we turn off DirectEdit, no more errors.
This seems consistent with "re-adding the grid" without setting DirectEdit back to True. Did you want to try this on your end as well to confirm?
It seems to be a binding issue, regardless of the DirectEdit state. We have tried but haven't been able to reproduce this issue. It could be possible that the project is an upgrade of an older project, or some bindings have been changed (we have recently updated the LiveBindings support) that unfortunately needs bindings to be reinitialized when added at designtime.