Welcome to the Xceed Community | Help
Community Search  
More Search Options

TableView FixedFooters Question

Sort Posts: Previous Next
  •  05-11-2009, 1:50 PM Post no. 20848

    TableView FixedFooters Question

    I have defined my InsertRow in the Fixed Footer as given below:

                    <xcdg:DataGridControl.View>
                        <xcdg:TableView UseDefaultHeadersFooters="False" ShowFixedColumnSplitter="False">
                            <xcdg:TableView.FixedFooters>
                                <DataTemplate>
                                    <xcdg:InsertionRow/>
                                </DataTemplate>
                            </xcdg:TableView.FixedFooters>
                    </xcdg:DataGridControl.View>

    The problem is that is allows the resizing of the InsertRow to the point where the whole insertrow covers the whole DataGrid and then it cannot be changed.

    Is there a property that can be set so that the FixedFooter cannot be resized? Is there any other way?

    Thanks

    Shams

  •  05-12-2009, 3:12 PM Post no. 20886 in reply to 20848

    Re: TableView FixedFooters Question

    Hi Shams,

    Such property does not exist.  However, to fix the size of your InsertionRow and prevent its resizing, you could set some desired values on the MinWidth, MaxWidth, ActualWidth and Width. You could do the same on the Height, ActualHeight, MinHeight and MaxHeight. Moreover, for individual Cells, you could access similar properties on the Cells collection. 

     

     


    Xceed - Software Developer and Technical Support
  •  05-12-2009, 3:39 PM Post no. 20887 in reply to 20848

    Re: TableView FixedFooters Question

    Hi Shamsul,

    It is indeed possible to block resizing on the DataRows by setting their MinHeight and MaxHeight properties to be the same value, but I tested this method on the InsertionRow and it didn't remove the issue.

    I have created a case to have this issue investigated further by the development team.

    In the meantime, you could eliminate the problem by blocking resizing on all of the rows by setting the MinHeight and MaxHeight to the same value on the RowSelector:

      <Style TargetType="xcdg:RowSelector">
        <Setter Property="MaxHeight" Value="32" />
        <Setter Property="MinHeight" Value="32" />
      </Style>


    Diane Lafontaine
    Technical Support / Technical Support Team Lead
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.