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
605
AutoWidht for XamComboEditor-Columns
posted

Hi Infragistics-Team,

I have a problem width the autosizing of xamDataGrid-Colums. I have a Datagrid with:

            <igDP:XamDataGrid.FieldSettings>
                <igDP:FieldSettings Width="Auto" />
            </igDP:XamDataGrid.FieldSettings>

This configures the width of all regular Columns by the max text lenght. But when I use a XamComboEditor in a Column it will not AutoSize. 

                        <igDP:Field Name="FB_FZ_ID" Label="Fahrzeug">
                            <igDP:Field.Settings>
                                <igDP:FieldSettings AllowEdit="False" EditorStyle="{StaticResource FahrzeugFieldStyle}" />
                            </igDP:Field.Settings>
                        </igDP:Field>

                <Style x:Key="FahrzeugFieldStyle" TargetType="{x:Type igDE:XamComboEditor}">
                    <Setter Property="ValuePath" Value="FZ_ID" />
                    <Setter Property="DisplayMemberPath" Value="FZ_Kennz" />
                    <Setter Property="ItemsSource" Value="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=src:BASE},Path=_CRM.FAHRZEUG.DefaultView, Mode=OneWay}" />
                </Style>

Did you know about that problem or do you have any idea of getting this Column to AutoSize?

Thanks

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Thomas,

    Thank you for your post. I have been looking through it and it seems like in our supported versions this has been fixed, so I suggest you download some of them from here:

    http://es.infragistics.com/products/default.aspx

    Please note, we are making efforts to ensure all posts are addressed by an Infragistics expert. We believe that the other community members could benefit from this thread as well.

    Feel free to write me if you need further assistance.

Children
No Data