Hi John,
Generally, you can bind the DetailsVisibility property of the GridViewRow to a property of your business object(for instance IsExpanded):
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
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.