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
1310
Auto focus on horizontal scroll bar when clicking a cell or column. How to avoid this?
posted

Hello, I have posted this in other forum, but I think this is the good place. I have a XamGrid with many columns grouped. After updating to the last version of your netAdvantage for silverlight, I have noticed that each time I choose a cell the scroll moves automatically and sets the selected column in the first place of the scroll. My users have complaint about this, because to change a value of the cell, when they click on the desired cell, it is moved automatically, and they get messed up with the table and cells they want to change. Any Idea of how to avoid this behavior?

                <ig:XamGrid x:Name="dataGrid"
                    
                            Grid.Row="1"
                            Height="Auto"
                            ActiveItem="{Binding SelectedItem, Mode=TwoWay}"
                            CellExitedEditMode="dataGrid_CellExitedEditMode"
                            CellDoubleClicked="dataGrid_CellDoubleClicked"
                            ItemsSource="{Binding modelSource, Mode=TwoWay}"
                            AutoGenerateColumns="False"
                            Style="{StaticResource XamGridStyle}"
                            CellStyle="{StaticResource CellControlStyle}"
                            HeaderStyle="{StaticResource HeaderCellControlStyle}"
                            FillerColumnSettings="{StaticResource FillerColumnSettings}"
                            DataContextChanged="dataGrid_DataContextChanged">
                    <ig:XamGrid.FixedColumnSettings>
                        <ig:FixedColumnSettings AllowFixedColumns="Disabled"></ig:FixedColumnSettings>
                    </ig:XamGrid.FixedColumnSettings>

...

Thank you