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
955
Moving columns is very slow with LabelTextWrapping="Wrap"
posted

Hi,

We are using 2010.03. And for below layout (with 60 fields) moving columns programatically is very slow, however drag/drop is much faster.

Noticed that the the performance is much better when removing LabelTextWrapping="Wrap" field settings.

Can someone please let me know (a) why this setting is causing when calling Move and (b) what other options/settings that can posibly changed to improve the performance of column moving?

Thanks in advance.

Muthu

----------

                <igDP:XamDataGrid 
                                VirtualizingStackPanel.IsVirtualizing="False"
                                SnapsToDevicePixels="True"
                                Theme="Office2k7Blue"
                                AutoFit="False"
                                Name="xamDataGrid1"
                                Grid.Row="0"
                                ScrollingMode="Immediate"
                                BindToSampleData="True" GroupByAreaLocation="None" AllowDrop="True" Height="292" Width="549">

                        <igDP:XamDataGrid.Resources>
                            <Style TargetType="{x:Type igEditors:XamTextEditor}" BasedOn="{x:Static igThemes:EditorsOffice2k7Blue.XamTextEditor}">
                                <Setter Property="TextWrapping" Value="WrapWithOverflow"/>
                                <Setter Property="Margin" Value="2"/>
                                <Setter Property="BorderThickness" Value="0"/>
                            </Style>
                        </igDP:XamDataGrid.Resources>

                        <igDP:XamDataGrid.ViewSettings>
                            <igDP:GridViewSettings UseNestedPanels="True"></igDP:GridViewSettings>
                        </igDP:XamDataGrid.ViewSettings>

                        <igDP:XamDataGrid.FieldLayoutSettings>
                            <igDP:FieldLayoutSettings
                            FieldMovingMaxRows="1"
                            ExpansionIndicatorDisplayMode="CheckOnDisplay"
                            AutoGenerateFields="False"
                            HeaderPrefixAreaDisplayMode="FieldChooserButton"
                            AutoFitMode="Never"
                            SupportDataErrorInfo="RecordsAndCells"
                            DataErrorDisplayMode="None"
                            FixedFieldUIType="None"/>
                        </igDP:XamDataGrid.FieldLayoutSettings>

                        <igDP:XamDataGrid.FieldSettings>
                            <igDP:FieldSettings
                            AllowCellVirtualization="False"
                            CellWidth="61"
                            LabelClickAction="Nothing"
                            CellClickAction="SelectCell"
                            AllowResize="True"
                            LabelTextAlignment="Center"
                            LabelTextWrapping="Wrap">
                            </igDP:FieldSettings>
                        </igDP:XamDataGrid.FieldSettings>
                    </igDP:XamDataGrid>

-------------------------

 

Parents
No Data
Reply Children
No Data