Hi,
I am new to Infragistics, and I have a simple XamDataGrid binded to a List<Items>.
I want the user to be able to expand any row, and see more details regarding the selected row in the expanded area beneath the row.
Can someone demonstrate how to do it please?
Thanks,
Eran.
Alex, Thank you very much for responding. could it be possible for you to guide me a bit more on this issue? Can I display data of the result of the Save operation which will be returned to me from the data library in the way you are displaying the updated PerformOperation property as the RowDetails?
Shravan
Hi Alex,
Thanks for this example, very useful for my purposes.
One thing, how do I remove the gap between the two rows (see below):
Cameron
Alex,
Is there a way to tie the trigger that modifies visibility of the interests style to IsExpanded versus the IsSelected in the example you provided. I changed it to bind to IsExpanded, but the trigger never fired.
danhoelting: To bind to "IsExpanded" instead of "IsSelected" you can add a simple binding to the visibility of the top element within the "rowDetailsStyle". In the example Alex gave this would be the grey border. You'll also need a converter that can convert a bool into a visibility object (true = visible, false = collapsed)
<Border BorderBrush="Gray" BorderThickness="1,2,2,1" CornerRadius="4" Margin="5" Padding="5"> Visibility="{Binding Path=.IsExpanded, Converter={StaticResource TrueToVisibleConverter}}" Hope this helps.
cwills55 or Alex,
Were you ever able to get rid of the extra gap? I am running into this same problem on our application.
-Rob