Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
How to set UltraToolTipInfo for an UltraGridCell when data source is not a DataTable
posted

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.

Parents
  • 53790
    posted

    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.

    Regards

    Video007.part01.rar
Reply Children