Hi,
i am using XamDatagrid in my application to display hierarchical data. there are too many fixed columns in my grid. For non fixed columns i want scroll bar just like below post.
http://ko.infragistics.com/community/forums/t/84270.aspx
In above post they use Xamgrid. i want same behaviour of scrollbar but in xamdatagrid.
is there any way to achieve it ?
Please help i really need this.
Hi Rob,
Thanks for this. i have one question the sample is working but if i have already define the columns in xaml as fixed then how it will work.
example
<igDP:XamDataGrid DataSource="{Binding Source={StaticResource DataSource}, Path=Products}"> <i:Interaction.Behaviors> <b:GridTooSmallBehavior Parent="{Binding ElementName=GridParent}"/> </i:Interaction.Behaviors>
<igDP:XamDataGrid.FieldSettings> <igDP:FieldSettings AllowFixing="Near"/> </igDP:XamDataGrid.FieldSettings>
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout Key="BrandLevel" Tag="Brand">
<igDP:FieldLayout.Fields> <igDP:Field Name="CategoryID" FixedLocation="FixedToNearEdge"/>
<igDP:Field Name="CategoryName" FixedLocation="FixedToNearEdge"/> <igDP:Field Name="Description" />
<igDP:Field Name="Products" />
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts> </igDP:XamDataGrid>
here i attached the screen shot which has many columns as fixed on left and two columns are fixed on right. but i have scrollbar display for remaining columns.
please help me
Hi ripalsoni,
Let me know if you have any further questions on this.
Hello ripalsoni,
I have updated that sample to use the XamDataGrid. You can find it attached.