Hello
I'm working with a UltraGrid bound to a datasource which is a bindingList (of MyObject).
Each property of MyObject is displayed in a column. Fine.
But, is there any mean to overload the display of the values of a specific column, in the way that it is not the MyObject.myProperty value which is displayed in this column but the value (MyObject.myProperty * a_static_factor) ? (obviously I don't want to update the datasource)
Thanks
Hi there, how's it going?
You sure can accomplish this! We have an elegant way for you to create a class that implements our very own IEditorDataFilter to create a class that we could call a "Data Filter". Think of a Data Filter as a means for you to intercept values BEFORE they are painted on the screen or BEFORE they are taken from the end-user input and pushed into your underlying object's property. Yes, you can use this to do things like convert those good old "Y" or "N" database values into a true boolean and many other cool things.
To learn more about Data Filters, check out this topic:
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=WinGrid_About_Data_Filters.html
...and to learn how to make one for your own, check out these topics:
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=WinGrid_Using_the_IEditorDataFilter_Interface_with_WinGrid.html
http://help.infragistics.com/NetAdvantage/WinForms/2010.1/CLR2.0/?page=Infragistics2.Win.v10.1~Infragistics.Win.IEditorDataFilter~Convert.html