I have a xamGrid that needs a formatted tooltip. When a user mouse over a any cell in the immediate row, I want it to show all the cell values in that row nicely formatted in a tool tip. I also have some hidden columns whose width is set to zero. I want to include these cell values as well.
The tool tip should look something like this:
Column1: Cell Value
Column2: Cell Value
Column3. Cell Value
Is there a way to accomplish this
BTW, Coumns are auto generated set to true.
Hi Nikolay Zhekov,
Provided link explains the procedure to show tooltip on a single cell very well but there is no detail to show a tooltip on complete row? do we have to add tooltip to every cell (manulaly or through template?). It will be very helpful if you can provide a sample for this.
Thanks
hi,
You can use the ToolTip feature of the XamGrid - http://help.infragistics.com/NetAdvantage/Silverlight/2011/1/CLR4.0/?page=xamGrid_ToolTips.html.
- You can set your columns in xaml and use a common data template set on ToolTipContentTemplate (like in the last snippet in the article)
- Or you can set if from code if you prefer autogenerated column. In this case you'll have to loop through the xamGrid.Columns.DataColumns collection and set the ToolTipContentTemplate and AllowToolTips on each column. You can use a template from a resource or generate one from code.
HTH
Anyone out there? Kind of getting desperate..