According to the online documentaion there is a Converter property on a Field in a XamDataGrid.
http://help.infragistics.com/Help/NetAdvantage/WPF/2007.2/CLR3.X/html/Infragistics3.Wpf.DataPresenter.v7.2~Infragistics.Windows.DataPresenter.Field~Converter.html
This property does not appear in the xaml when I attempt to use it. Am I doing something wrong? What I am trying to do is create a Y/N to True False so it can be used by a checkbox in my datagrid. I saw a couple examples that provided a new template with a checkbox inside it but I really dont want to use that approach unless I am forced too. Here is what I have so far. I just need a way to convert my 'Y' or 'N' value to check or uncheck the box.
Thanks
Hi,
I am using FieldLayoutSettings and I do not have FieldSetting for individual columns in my XamGrid. How can I use Converter? I want to convert specific string to brush.
How can I include this converter in my FieldlayoutSettings?
I need this urgently ..plz help.
Thanks,
priyalatha
Hi Klaus,
There's a Converter property on the Field. After you bind to the data table, you can access the field using something along the lines of
dp.FieldLayouts[0].Fields["FieldName"].Converter = converter;
Hope this helps,
Sandip
Hello
As I use a datatable as itemssource for my grid, I cannot define fields in xaml
How can I apply the converter by code (vb)?
Regards
Klaus
That is really strange. I was using converters with the express version and pretty much finished my proto app with it. I actually delivered the first version using express. I then upgraded to the full version and applied the hot fix. I can't make sense of your experience.
This secretive hot fix is really a bad idea all the way around. It really doesn't make sense and surely impacts customer experience and satisfaction. With Wpf being so new, I'd think it important to establish a strong user base and reputation. Support is a huge part of the buying decision, and is the reason I didn't go with Xceed.
I installed the Express version and Converter was not in there either. I then applied the 1007 hotfix to the express version and the Converter property finally appeared.
If anyone from Infragistics is listening (which doesn't seem likely) it would be awesome if I could download the hotfix for the non-express trial version.
Thanks for all your help with this issue.