I have a grid with:
CanUserSelect="True"
RowDetailsVIsibilityMode="VisibleWhenSelected"
My RowDetailsTemplate has a StackPanel with the Visibility set using a converter as so:
<telerik:RadGridView.RowDetailsTemplate >
<DataTemplate >
<StackPanel Orientation="Horizontal" Visibility="{Binding myVariable, Converter={StaticResource IsShownConverter}}" >
The converter is filtering properly, and only about 10% of my rows show something in the details template when selected.
The other 90% of rows when selected open a blank area underneath the row.
That is ok, but not aesthetically pleasing.
How would I use the converter (or some other method?), to only allow the selection and showing of rowdetails for rows where the converter conditions are met?
Thanks.
CanUserSelect="True"
RowDetailsVIsibilityMode="VisibleWhenSelected"
My RowDetailsTemplate has a StackPanel with the Visibility set using a converter as so:
<telerik:RadGridView.RowDetailsTemplate >
<DataTemplate >
<StackPanel Orientation="Horizontal" Visibility="{Binding myVariable, Converter={StaticResource IsShownConverter}}" >
The converter is filtering properly, and only about 10% of my rows show something in the details template when selected.
The other 90% of rows when selected open a blank area underneath the row.
That is ok, but not aesthetically pleasing.
How would I use the converter (or some other method?), to only allow the selection and showing of rowdetails for rows where the converter conditions are met?
Thanks.