Hello, I've read through most of the posts related to filtering of unbound columns but I am still having an issue with unbound column filtering (xamGrid version 11.1.20111.2115). The unbund column is setup in xaml. The filter editor template includes a text box for entering the filter value:
I have a custom filter added to the column:
var operand = new MyGreaterThan();operand.Icon = (DataTemplate)this.Resources["GreaterThanOperatorTemplate"];daGrid.Columns.DataColumns["U_Name"].FilterColumnSettings.RowFilterOperands.Add(operand);
The goal is to have a "greater than" filter, with a text box for entering the comparison value. I get the custom filter to show up in the filter row, and the text box for entering the filter value, but the problem is that I am not getting any notification that the filter is changed after entering a value. The FilteringExpression on my custom operand is not being called, and the Filtering event on the grid is not fired. I do see the object instance bound to the filter being modified. Is there something else I am missing? Thanks.
Hello,
As we discussed in the private support case that you submitted for this inquiry, the issue in the code was the Binding expressions for the TextBox.Text property in your UnboundEditTemplate and UnboundFilterTemplate. Changing the Path from DataRow.Name to Value resolved the issue:
Thanks,
I have to use XamGrid (version 12.2) with unbound column. I managed to add unbound column to display data but not able to apply any filter. Is there anything needed to be done in Xaml to have filter accessible for unbound column. I am using Filter Menu option to have excel like filter enabled
The details of questions are put on Stackoverflow :
http://stackoverflow.com/questions/17827919/wpf-infragistics-unbound-column-filter-not-accessible