Hello,
I’m having inverted xamdatagrid as follows.
Properties
“X1”
“X2”
“X3”
“X4”
Property1
Property2
Let us assume that “X1” to “Xn” columns are generated based on the user input .Actually in my xamdatagrid, I have many properties.
I need to add scroll bar to grid in such a way that, only contents (i.e. property1, property2 etc.) should scroll not the header.
<xamdatagrid ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
</xamdatagrid>
Please help to fix the header and scroll the data.
Note: My xamdatagrid is inverted grid.
Thanks and regards,
Sasi
Hello Sasikumar,
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Svetla
Hello Sasikumar Kanniyappan,
Thank you for your post. I have been looking through it and I suggest you may see a similar example showing DataGrid horizontal record orientation in the WPF Samples Browser version 2013 volume 1 under xamDataGrid / Display / Record Orientation example.
In order to invert the Data Grid you should set its GridViewSettings Orientation property to Horizontal. So the Data Grid headers are fixed and you can scroll the data.
<igDP:XamDataGrid>
<igDP:XamDataGrid.ViewSettings>
<igDP:GridViewSettings Orientation="Horizontal" />
</igDP:XamDataGrid.ViewSettings>
</igDP:XamDataGrid>
More information about records orientation you can find in our online help: http://help.infragistics.com/NetAdvantage/WPF/?page=xamDataGrid_Changing_the_Record_Orientation.html
Looking forward for your reply.
Svetla Boykova