Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
Strange scroll behaviour.
posted

I'm using the XamDataGrid to show and change my hierarchical business objects.

One of my fields looks like this:

 <igDP:UnboundField Name="Size" Label="My Size" x:Name="fldSize" Width="Auto">
                            <igDP:UnboundField.Settings>
                                <igDP:FieldSettings AllowEdit="False"
                                                    EditorType="{x:Type igEditors:XamTextEditor}">
                                    <igDP:FieldSettings.EditorStyle>
                                        <Style TargetType="{x:Type igEditors:XamTextEditor}">
                                            <Setter Property="Value">
                                                <Setter.Value>
                                                    <MultiBinding Converter="{StaticResource SizeToDimensionsStringMultiConverter}">
                                                        <Binding Path="Record.DataItem.Size.Width"
                                                                 RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type igDP:DataRecordCellArea}}"/>
                                                        <Binding Path="Record.DataItem.Size.Height"
                                                                 RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type igDP:DataRecordCellArea}}"/>
                                                    </MultiBinding>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </igDP:FieldSettings.EditorStyle>
                                </igDP:FieldSettings>
                            </igDP:UnboundField.Settings>
                        </igDP:UnboundField>

If I scroll through my data records (vertical direction) randomly the value (e.g. Size) of some records is beeing set although I haven't changed anything.

How is this possible? What can I do to stop this behaviour?

Parents Reply Children