Hi,
Consider I am having 10 fields, where my scrolloing mode is 'DeferredWithScrollTips'.My primary field is 'FieldA' but I need to set IsScrollTipField property to 'FieldC' as the postion of 'FieldC' changes at runtime due to user preferences.
if (this.FieldLayouts != null && this.FieldLayouts.Count > 0) { foreach (Field field in this.FieldLayouts[0].Fields) { if (field.ActualPosition.Column == 0 && field.ActualPosition.Row == 0 && field.Visibility == Visibility.Visible) { field.IsScrollTipField = true; } else { field.IsScrollTipField = false; //But this doesn't work for primary field.... } } }
This code sets FieldC's IsScrollTipField as true but FieldA's IsScrollTipField is also true and I am unable to make this false.
So in some rare cases I am getting 'FieldA' as scroll tip but this should not be the case.
Kindly guide me to solve this.
Thanks & Regards,
M. Arthi
Thanks for your sample. Now we are using 10.2 version.
Scroll Tip is changed when I manually change the position of the field.
But When I try to relaunch the grid with saved preferences (after changing the field position), the scroll tip retains the first field as before.
The preferences is applied but still the scroll tip field is not changed.
Kindly provide me a solution.
Arthi,
I'm sending a sample that works for me. Let me know if this is what you are looking to achieve and if you have any questions on this matter.
But we are using 9.2 version and we are facing this issue.
Can you provide me a solution for this version...
Were you able to resolve this issue? I will follow up this thread in the next couple of days to see if you have any new information on this.
I was not able to rerpoduce such issue on 10.1 and the latest service release (2018). Could you attach some sample so we can see what is going on?