Hi,
I have a situation where I need to change the text of some of my cells in ultrarows depending on some condition. Now when I use the cell.Value syntax it changes the underlying datatable also. I don't want to change the underlying data, the requirement is just to change the text for display purpose and not in the underlying datatable. How can we achieve this in ultragrid.
Thanks,
Nipun
Hello Nipun,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
I am not aware of your scenario and needs, but this would not work when I puzzled over it for some time.
You could use the 'Format' property, the 'IEditorDataFilter' interface(http://help.infragistics.com/NetAdvantage/WinForms/2012.2/CLR4.0/?page=WinGrid_Using_the_IEditorDataFilter_Interface_with_WinGrid.html or the 'IUIElementDrawFilter' interface(http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Win_Draw_Filter.html) for your scenario.
Please take a look at those and let me know if you need any further assistance!
You could use the 'UpdateMode' property of the 'WinGrid' and set it to 'OnUpdate' in order to commit the changes to the datasource programatically.
http://help.infragistics.com/NetAdvantage/WinForms/2012.2/CLR4.0/?page=Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraGrid~UpdateMode.html
ultraGrid1.UpdateMode = Infragistics.Win.UltraWinGrid.UpdateMode.OnUpdate;
Please feel free to let me know if a question about our tool set comes up on your mind.