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.
Anyone out there? Kind of getting desperate..
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