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
1564
Setting the width of a column
posted

Hi,

I have try to :
- change the width of a column
- remove the "title" in the header of this column (the title display 'IsPlaying' now !!)

I use this code, but it does not work : 

                         <igDP:Field Name="IsPlaying" IsScrollTipField="True">
                            <igDP:Field.Settings>
                                <igDP:FieldSettings CellMinWidth="20" CellMaxWidth="20" CellWidth="20"
                                  CellValuePresenterStyle="{StaticResource IsPlayingImage}" CellClickAction="SelectRecord"/>
                            </igDP:Field.Settings>
                        </igDP:Field>

Parents
  • 4850
    Offline posted

    Hi,

    Also set LabelWidth="20" on FieldSettings. To get rid of the label in the header set the Field's Label property to "". e.g.

                             <igDP:Field Name="IsPlaying" IsScrollTipField="True" Label="">
                                <igDP:Field.Settings>
                                    <igDP:FieldSettings CellMinWidth="20" CellMaxWidth="20" CellWidth="20" LabelWidth="20"
                                      CellValuePresenterStyle="{StaticResource IsPlayingImage}" CellClickAction="SelectRecord"/>
                                </igDP:Field.Settings>
                            </igDP:Field>

Reply Children