Hi Guys
2 versions of our product are using the same Infragistics4 15.2 libraries. In our previous version, when the AutoPreviewMaxLines is modified for the UltraGridBand, the selected row's AutoPreviewHeight is automatically updated to reflect the new height. However, in our current version of code, the AutoPreviewHeight was not automatically updated when the same change is made.
Can someone point to a direction to research for the cause of this different behavior?
Thanks in advance.
Richard Zhu
Hello Richard,
If the AutoPreviewMaxlines property behavior is different between two versions of Infragistics then we can test it with a quick sample to see what changed. However, if the behavior is different between two versions of your code then I believe the issue is related to the code changes that were made between these two versions. If you can provide us a sample with this issue reproduced in it then we will debug it to see what’s causing this behavior. Once we know the cause of this issue you can track your changes related to it to identify the cause of change in behavior.
I will further look into this issue as soon as I hear back from you.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Hi Sahaja
So if I modify AutoPreviewMaxLines, should AutoPreviewHeight be automatically updated? Is there any setting that controls this behavior? I was hoping that there are something I can look into and modify to get the desired behavior.
Thanks.
AutoPreviewMaxLines will update the AutoPreviewHeight. We tested this behavior with 17.1 and it works. Please verify in your code if you are setting the AutoPreviewMaxLines to something smaller than its current value and if there are already AutoPreview’s on screen that exceeded the max lines and if this is causing the mentioned behavior.
Can someone respond to this? I just need a confirmation that AutoPreviewMaxLines does force a automatic update on AutoPreviewHeight. Also, is there anyway to force an update of AutoPreviewHeight?