Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Expanding Row Details on New Row

$
0
0
Hi John,

Generally, you can bind the DetailsVisibility property of the GridViewRow to a property of your business object(for instance IsExpanded):

<telerik:BooleanToVisibilityConverter x:Key="myConverter"></telerik:BooleanToVisibilityConverter>
        <Style TargetType="telerik:GridViewRow" BasedOn="{StaticResource GridViewRowStyle}">
            <Setter Property="DetailsVisibility" Value="{Binding IsExpanded,Converter={StaticResource myConverter}}"></Setter>
        </Style>

When adding the item to the ItemsSource collection, simply set this property to true. Would this work for you? 

Regards,
Stefan Nenchev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.

Viewing all articles
Browse latest Browse all 99250

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>