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.
Hello Eran,
If you have in mind something like "Row Details" feature, this is not a built-in functionality yet in the XamDataGrid. However, one way that you can achieve this is with some custom field positioning and styling. I have created a small project for you which is attached to this post. Below you can see a screen capture of the result you will achieve.
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
Hello Kamlendra,
I have updated the referred forum thread.
Hi Stefan,
Thanks. It helped me. Iused it like:there are some border issues. but i will look into these later.
<Style TargetType="{x:Type igDP:DataRecordCellArea}"><Style.Triggers> <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Record.DataItem.IsIncreasedSize}" Value="True" > <Setter Property="Height" Value="70" /> <Setter Property="FontSize" Value="25"/> </DataTrigger> </Style.Triggers> </Style>
**for now the Urgent taks is http://www.infragistics.com/community/forums/p/85134/424920.aspx#424920 please suggest any MVVM soultion. [Moderator can remove this part, as it is totally different thread. i am just using this to communicate to Stefan]
I have modified the sample from the related forum thread, so now it uses converter to set the DataRecordCellArea's Height. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
I am using infragisticwpf4.v11.2.I want to use the solution provided by you, it is providing the functionality but the solution doesn't follow MVVM(taking RecordPresenter in the code behind).can you please modify it for MVVM like uses of Triggers and attached behaviors.
Hello Rob,
I can suggest you try the solution given here:
http://www.infragistics.com/community/forums/p/62917/320882.aspx#320882