DataGrid Column Width and Row Details RRS feed

  • General discussion

  • I have a DataGrid who's RowDetailsTemplate contains another DataGrid that is wider than the first.  My problem is that the parent DataGrid doesn't resize to accommodate the width of the larger details DataGrid when row details are expanded.  Even if I specify a minWidth for the parent DataGrid, the details DataGrid will not render larger than the cumulative total of the parent DataGrid's column widths.

    For instance:

    |------------------------------------Parent DataGrid------------------------------------------------------------------------------------------|

    |-----------------------------Parent DataGrid Columns--------------------------|

    |-----------------------Row Details DataGrid w/scroll bars----------------------|------------Row Details DataGrid intended-------------|


    I'd like to be able to display the full details instead of having the user scroll from side to side.  Is there a way to show RowDetails larger than the width of the parent row?

    Friday, May 18, 2012 4:56 PM