When livebinding a clientdataset with a tmsfmxGrid. And you select a row in the grid, this does not match the row in the dataset.
this depends on the number of fixed rows (default 1) so the deffault difference would be 1.
for ex: If you have 2 fixed rows, the selected row in the dataset is the selected line in the grid + 2
Filip
We are aware of issue in LiveBindings in XE4, unfortunately there hasn't been found a solution yet.
before open the dataset set dataset DisableControl after open set dataset set EnableControl. we solve that issue like that :)
Hi,
Thank you for this, I am going through the nightmare of taking (fortunately) a relatively simple XE3 app to XE4 when I spotted this one! Your fix has worked for me although I still remain nervous about FireMonkey when put against straight VCL apps.
Unfortunately XE3 is as good as incompatible with XE4 so it is best to start with a new project.
Everything is working apart from this grid issue (the outlined "fix" is only partially successful). As you are not committing to a fix I will dump the TMS grid for the default as this does not have this issue.
I have just tried using a string grid as a temporary fix to this issue but it looks like the grid in XE4 is far from perfect. Although the problem is slightly different if you display one row, update the result set to zero rows the displayed row does not get updated (in stays visible).
We updated our project to XE4, so we could work with updated tms components. tms components for XE3 had bugs, but at least you could work around them. Now its just an unworkable mess.
Why do they bring out new XE version every year, when there not even compatible...