How do you check/inspect data, what data? Is this grid cell data? Dataset fields based data? Other?
I have retested this here with the DBAdvGrid\ADOEditing demo and the code
v2.5.0.3 is not the latest version. v2.5.0.5 is the latest version.
Before contacting support:
- Make sure to first read the Guidelines
- Make sure to first read the readme.txt or install.txt files in component distributions
- Make sure to first read the manual and tips & faq sections on individual component pages
- Make sure you have first checked with the latest version of the component(s)
- Verify that you have the latest update packs for your development environment installed
- Test if an issue can be reproduced in a separate simple test application
Bruno Fierens2020-03-06 10:50:50
Bruno,
Apologies for the lack of details on my operating/development environment. An oversight on my part. Currently a week past a deadline and scrambling for time.
Tested OS is both Windows 8.1 and Windows 10 (is that enough details or do you want the exact flavor and release?).
Tested Dev Environment is RAD Studio 10.2.3 - Specifically a C++ Builder project.
Database components are UniDAC latest release.
As for not testing with the lastest release, due to said deadline and the changes being implemented in the visual style, I've had to remain locked at this version to avoid the extra resources to resolve the issues being created with the new styles. This is something I plan to discuss further with you once I have the time. Unfornately, even copy and pasting existing controls with the newer version result in visual changes. I have a hard requirement for the projects that the visual style remain consitent throughout the project.
As for the remainder of the "Before contacting support" items, I certainly made a good faith effort to examine all of these. The behavior was certainly repeatable on other applications is my project group when I checked their behavior. I'm not actively using the OnRowChanging event on those, but when added I saw the same behavior. In general, I detest contacting support and only do it when I feel like I've exhausted all other courses.
Back the the problem,
I ran the demo project referenced and added your changes to output the test data. It did indeed work. I compared the properties of both grid and after some trial and error with the various properties located the issue. Changing the DataSetType to 'dtNonSequenced' was the key to making it function correctly.
On the documentation, does the 'TMS Grid Pack' incompass all of the content from the 'TMS TDBAdvGrid Developers Guide' or do I need to search both for solutions. The reason for asking is that both documents contain the same statement regard DataSetType.
Sincerely,
Royce Arnold
The use of the DataSetType property is explained here:
I cannot see that this property setting would affect the value of cells returned from the OnRowChanging event though. I would recommend to test this with the latest version.