PDA

View Full Version : [CLOSED] Gridpanel Tooltip



softmachine2011
Jun 21, 2012, 10:00 AM
In older ext.net versions (1.x) gridpanel tooltip with this code fires when mouse is over a row.



<ToolTips>
<ext:ToolTip ID="RowTip" runat="server" Target="={#{gridDocumentos}.getView().mainBody}"
Delegate=".x-grid3-cell" TrackMouse="true">
<Listeners>
<Show Fn="Millenium.Controls.TiposDocumentos.Index.showTip" />
</Listeners>
</ext:ToolTip>
</ToolTips>


In ext.net 2, it isn't working, what I have to change?

Daniil
Jun 21, 2012, 11:35 AM
Hi,

Please set up

Delegate=".x-grid-cell"

Without "3".

Here is the example.
http://examples2.ext.net/#/Miscellaneous/ToolTips/GridPanel_Cell_Tooltip/

There is some problem with positioning the Tooltip. We will investigate.

softmachine2011
Jun 21, 2012, 12:19 PM
The problem is that tooltips section of gridpanel doesn't work properly.

Puting tooltip in another line of code seems to work. This could be an error.

In other way, my question is solved and it works.

Daniil
Jun 21, 2012, 2:11 PM
The problem is that tooltips section of gridpanel doesn't work properly.

Within the GridPanel Tooltips the Tooltip Target will be "grid.el", but must be

Target="={#{GridPanel1}.getView().el}"
to get the functionality you need.


There is some problem with positioning the Tooltip. We will investigate.

This has been fixed in SVN, revision #4134.

Daniil
Jun 21, 2012, 2:19 PM
Within the GridPanel Tooltips the Tooltip Target will be "grid.el", but must be

Target="={#{GridPanel1}.getView().el}"
to get the functionality you need.


If you will set up Target explicitly for the ToolTip within the GridPanel ToolTips, it should work, i.e. it won't be replaced with "grid.el".