How to make row height auto when using a data template

I have the following.. using a large data template but the row height is very small and very little of the template is displayed. How do I make the entire template appear?
thx

ShowAddNewRow="False"
ShowFilters="False"

AutoPopulateColumns="False"
AutoPopulateRelations="False">













1 Reply

KR Karthick Ravichandran Syncfusion Team December 11, 2010 10:38 AM UTC

Hi Elster,

Thanks for choosing Syncfusion Products.

Currently, we haven’t support rowheight property in DataTemplate. You can achieve you requirement by setting the RowHeights property in the code behind. For more information please refer the code snippet and sample.

[Code Snippet]
[C#]
void _grid_Loaded(object sender, RoutedEventArgs e)
{
_grid.Model.RowHeights[2] = 90;
}

Please let us know if you need more information.

Thanks,
Karthick





WpfApplication1-337474324_cf87c067.zip

Loader.
Up arrow icon