Is there a way to extract current filter settings for xamGrid column, so these settings could be displayed ?
Hello Karan,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
Hi Stefan, Not sure if this is the right place, but am also facing an issue with XAMGrid filter.
I am using InfragisticsWPF4 and on adding a XAMGrid , search option is not working fine in my filter. I am not able to write anything in search box.
Below is the xaml :
<ip:XamGrid AutoGenerateColumns="False" Grid.Row="3" ItemsSource="{Binding Model.DisplayFieldItems}"
Name="auditXamGrid" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Loaded="auditXamGrid_Loaded">
<ip:XamGrid.FilteringSettings>
<ip:FilteringSettings AllowFiltering="FilterMenu"/>
</ip:XamGrid.FilteringSettings>
<ip:XamGrid.Columns>
<ip:TextColumn Width="Auto" HeaderText="ID" Key="Model.FieldId" IsReadOnly="True" IsFilterable="True">
<ip:TextColumn.HeaderTemplate>
<DataTemplate>
<TextBlock Text="ID" />
</DataTemplate>
</ip:TextColumn.HeaderTemplate>
</ip:XamGrid.Columns>
</ip:XamGrid
Please help.
Hello Sergey,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the
HeaderDropDownControl in order to handle the Closed event of the popup inside it, which contains the items. Then I looped them in order to create a list with the selected ones. Once I did this I set the Tag of the corresponding column to this list. This way you can get each column’s filter values through its Tag property. Please let me know if this helps you or you have further questions on this matter.