I want to update all the ToolTipTexts of cells in one column in the UltraGrid automatically by using the dataTable that is the dataSource of my grid. I need it to show a different description for each cell in this column, but not to use event such as MouseEnterElement that always entered to that function.
thanks.
Hi,
Thank you for posting in our forums.
What you could do is to hide the Tooltip column from the grid and then in the InitializeRow event, you could set the tooltip for each cell, accessing the value from the hidden column and then assigning it to the ToolTipText property. For more information about this property, please visit this link:
http://help.infragistics.com/Help/Doc/WinForms/2012.1/CLR2.0/HTML/WinGrid_Display_ToolTips.html
I have attached a sample, in order to demonstrate this suggestion.
Please let me know if you have any additional questions.
First, thanks about the event (InitializeRow).
I have another question: why can't I see the ToolTipText never? I think I read all posts about the toolTip but no one helps. May you have an idea? Maybe another properties of ultragrid affect the tooltip?
I wrote this row before and after I update the DataSource of the ultragrid:
ultraGrid1.DisplayLayout.Override.TipStyleCell = TipStyle.Show;
Thanks.