Is there any way to show the PREVIEW line only on the record that is currently focused/selected?
Preview on only Focused/Selected Row
Answers
Hello Alan.
Thank you for your message.
By default, this functionality is not supported by the ExpressQuantumGrid.
However, you can achieve the required functionality by using the OnGetCellHeight event handler and OnFocusedRecordChanged event handler.
In the first event you should check if the record is focused and the AItem is a Preview column. If this record is not focused, you should set the AHeight parameter's value to 0.
In the second event, you should force the preview cells to recalculate. It can be done by disabling and then enabling the visibility of the Preview.
Attached is an example that shows how to perform this task. Does this solution meet your requirements?
Best regards,
Ingvar.
Hello Alan.
Thank you for informing us that the problem is resolved now. I'm happy to hear that my assistance was helpful.
Please feel free to contact us if you have any questions about our controls. We'll do our best to provide you with a prompt solution.
Best regards,
Ingvar.