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

Parents
No Data
Reply
  • 570
    posted

    Hello Mekoloko,

    Thank you for contacting Infragistics!

    I put your markup into a sample in order to try and reproduce the issue you are having, however my sample only scrolls when the item in question is displayed beyond the edge of the visible area; I believe that your issue may have something to do with your styles being applied. Can you provide more details on the four styles you are using in your markup, that I might better locate the source of your issue?

    Sincerely,
    Jon
    Infragistics, Inc.
    http://es.infragistics.com/help

Children