Hi,
does anybody know how to implement a tooltip for a mouseover?
In one of our columns the text is to long to show, so we show only the first letters. The user should see the whole text when hovering over the cell or row...
Thanks for every idea!
Torsten
HI,
I got tooltip but displaying in as <span class=... id="..." style="text-transform:uppercase"> tooltiptext</span>
David,Thanks for the reply...It works perfect.but what if I don't want the tooltip for a selected column in the grid.How can I achieve it??Thanks.
-AKshay
Hi info@vem-it.de
i have soluation for this problem just try that code
Dim row As UltraGridRow For Each row In Me.UltraGrid1.Rows 'row.ToolTipText = String.Format("Sample tool tip for {0} index row.", row.Index)
' Tool tip can be set on individual cells as well.
row.Cells(0).ToolTipText = String.Format("coloumn id for {0} index row.", row.Index) row.Cells(1).ToolTipText = String.Format("coloumn name for {0} index row.", row.Index) row.Cells(2).ToolTipText = String.Format("coloumn fathername for {0} index row.", row.Index) row.Cells(3).ToolTipText = String.Format("coloumn address for {0} index row.", row.Index) row.Cells(4).ToolTipText = String.Format("coloumn marks for {0} index row.", row.Index) row.Cells(5).ToolTipText = String.Format("coloumn rollno for {0} index row.", row.Index) row.Cells(6).ToolTipText = String.Format("coloumn qualification for {0} index row.", row.Index) Next
Private Sub Display_ToolTips_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Set tool tip on a header column. Me.UltraGrid1.DisplayLayout.Bands(0).Columns("id").Header.ToolTipText = "field contain user id ." Me.UltraGrid1.DisplayLayout.Bands(0).Columns("name").Header.ToolTipText = "field contains user name ." Me.UltraGrid1.DisplayLayout.Bands(0).Columns("fathername").Header.ToolTipText = " field contains user fathername ." Me.UltraGrid1.DisplayLayout.Bands(0).Columns("address").Header.ToolTipText = "field contains user address." Me.UltraGrid1.DisplayLayout.Bands(0).Columns("marks").Header.ToolTipText = "field contains user marks ." Me.UltraGrid1.DisplayLayout.Bands(0).Columns("rollno").Header.ToolTipText = "field contains user rollno ." Me.UltraGrid1.DisplayLayout.Bands(0).Columns("qualification").Header.ToolTipText = "field contains user qualification "
Dim summary As SummarySettings = _
Me.UltraGrid1.DisplayLayout.Bands(0).Summaries.Add("count", _ SummaryType.Count, _ Me.UltraGrid1.DisplayLayout.Bands(0).Columns(0), _ SummaryPosition.UseSummaryPositionColumn)
' Set the tooltip on the summary settings object. This tool tip will ' be displayed on every summary value instance associated with this ' summary settings object. summary.ToolTipText = String.Format("Count of column {0}.", summary.SourceColumn.Header.Caption)
Me.UltraGrid1.Rows.SummaryValues("count").ToolTipText = String.Format("Count of column {0}.", summary.SourceColumn.Header.Caption) End Sub
if u want more help please visit the below link
http://ahmadkhalid44.blogspot.com/
Thanks
Regards:
Ahmad Khalid
Hi Dave,
Sorry for the trouble caused. From next time onwards i will open up new posts.
Thanks & Regards,
Assyst
Hi Assyst,
I'll answer this, but in the future, could you kindly open a new forum post for questions not pertaining to the original question of the post. That way if other users have the same question, they can more easily find an answer. You could also try checking our documentation as this can easily be found in the client documentation.
On the client, it is very simple to set the visibility of the filter row.
grid.get_behaviors().get_filtering().set_visibility(val). val should be either $IG.FilteringVisibility.Visible or $IG.FilteringVisibility.Hidden.
-Dave