Hi,
I have an issue which occurs when I have custom value editor defined for a field and I would also like to filter on that field. After entering a value into filtering record for that field and hitting Enter, I'm getting a message box with "Value could not be converted to..." text.
I'm attaching a sample project which presents the issue. Change filter operator for the second column to Equals, enter some value and hit Enter. You actually need to enter filtering value 2 times (first value simply disappears, which I guess is some other issue; it does not occur in my real project, only in this sample one).
I know XamDataGrid by default uses XamComboEditor in filtering record. I thought I could use my custom editor for that, but I would not like to loose functionality of choosing (Custom) filter from the drop down. Any ideas how to solve this?
Hello,
In your sample you can add a ValueToTextConverter in the Value Editor class to translate the values for the drop down list and add a FilterComparer to enable filtering from values selected from the list.
I am going to have development look into the issue converting the text input into the address and will create a private case to notify you of updates to this issue.
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
The issue converting the text input into the address was looged as development issue
100185: Entering text in filter cell of column with custom Value Editor gives error Invalid Value: Value could not be converter to <object type>
This issue has been fixed in teh latest service release.
What was the solution? I would like to modify the message to say something more descriptive. How can I modify the error message?
Thanks!