We have discovered that when we sort the grid by a column that is set to (TcxProgressBarProperties) if we then use the ExpressPrinting system to print preview the grid the following exception is raised by the IDE
Project Application.exe raised exception class EInvalidCast with message 'Invalid class typcast'
The exception is then swallowed and not presented to the end user, however the resulting preview window will be completely empty and you won't be able to print what you intended.
I have attached a sample application that demonstrates this, just run it and click the button on the form.
Everything works fine when you are sorted by the other column.
Hello,
Thank you for your sample project. I have reproduced this behavior and forwarded this ticket to our developers for further research.