Using the code in the sample "WinToolTipManager - Tool Tips with Context" I am able to create a balloon ToolTip for a UltraGridCell by using the SetColumnError method:
row.SetColumnError("ColumnKey","Tool tip message."
This works quite well (though somewhat cumbersome using the helpers classes) provided the underlying data source is a datatable.
How can I achieve this same functionality when the data source is an IbindingList? Since the list doesn't have rows (only a collection of entities), there is no SetColumnError method.
Thank you for the video. As I mentioned in my original post, I had used the sample provided with my installation of the Infragisitics product.
I am trying to create an Infragistics balloon ToolTipInfo for a cell that has a data error. My underlying DataSource is not a DataTable so the underlying cell's row object is not a DataRow (It is a object in a list collection) and therefore the SetColumnError method is not available for the cell's row.
So, the example to which you refer is not on point.
However, I did figure out a way to accomplish getting an Infragisitics TooltipInfo to display for WinGridCells that have a programmatically determined error.
While this workaround isn't so elegant, it does fit the bill.
If you have some other approaches to setting a cell's ToolTipInfo other than when the grid's MouseMove event is fired, I'd be glad to try them.
Thank you for your assistance in this matter!
-J
second part
Hello Jake K,
I upload again the video file. Please note that there are two parts and you should download both of them.
Jake K said: I can attach them to the entire grid, but can't seem to figure out how to attach them to an individual cell.
Please take a look at the source code of our sample "WinToolTipManager - Tool Tips with Context" and let me know if you have any questions.
Regards
Georgi
Hi Georgi,
Thank you for your reply! The video you sent is defective - when I try to extract it I get the message "CRC failed. File is broken."
I can create a standard Microsoft ToolTip (text) and attach it to any cell in an UltraGrid. I am trying to use Infragistics' UltraToolTipInfo and attach it to a specif cell, or even a infragisitics.win.tooltip. I can attach them to the entire grid, but can't seem to figure out how to attach them to an individual cell.
Hello Jake,
if I understand well your requirement, I think that you could use this sample to create a ToolTip regardless of your DataSource. The mentioned method - SetColumnError() is used in this sample to show small red Attention image in the decimal cells where the value is negative. Please take a look at the attached video file for more details.
Please let me know if you think that I misunderstand your request or if you have any further questions.