Hi,
I have a bound data table which has a byte array column.
How can I format a specific cell that is bound to a byte array ?
I would like to display the hexadecimal value of the byte array.
Thanks.
Hello Abraham,
As Mike wrote there are several ways to achieve this. Please find attached a sample solution implementing approach with DataFilter. The steps to implement this approach are:
1.Add UltraTextEditor to your UltraGrid specific cell or column.
2. Create a custom class implementing IEditorDataFilter interface. This interface allows you to "intercept" the values assigned to and from the editor and its owner, and change those values as required by the application.
3. Set to UltraTextEditor’s DataFilter property to an instance of the custom class.
More about IEditorDataFilter you can find by following next link http://help.infragistics.com/Help/Doc/WinForms/2012.1/CLR2.0/HTML/WinGrid_Using_the_IEditorDataFilter_Interface_with_WinGrid.html
Please let me know if this is what you are looking for or if I am missing something.
thanks for your replies, I will look into it.
Milko, I think you didn't notice but I need this for a wintree not a grid.
Thank you for your feedback.
Actually my sample solution is implemented with WinTree with default ViewStyle. If your WinTree is set with different ViewStyle can you please tell me what it is?
Waiting for your feedback.
Hi Kal,
Please let me know if you need my further assistance on this matter.
Thank you for using Infragistics Components.
thank you both.
Oops. I think that confusion was on my part. I assumed you were using the grid. The same basic approaches will work with the tree, but the events are slightly different for the unbound column approach. The DataFilter approach is essentially the same.