Ext.NET icon indicating copy to clipboard operation
Ext.NET copied to clipboard

ext:GridCommand component tooltips don't work

Open fabriciomurta opened this issue 5 years ago • 0 comments

Found: 5.3.0 Ext.NET Forums' thread: GridPanel ToolTip Not Appearing

In the GridPanel > Commands > Prepare Toolbar example, if a tooltip is directly assigned to any ext:GridCommand component definition with something like:

<ext:GridCommand Icon="NoteEdit" CommandName="Edit" Text="Edit">
    <ToolTip Text="Edit this one." />
</ext:GridCommand>

The assigned tooltip to the component would erratically be displayed on mouse hover.

The issue can be avoided if, instead, the tooltip is assigned using <PrepareToolbar Fn="<handler>" /> and toolbar.items.getAt(N).setTooltip("tooltip here").

The tooltip is probably being assigned too early or to the wrong DOM element when specified in markup, whereas it uses current means when Ext.button.Button.setTooltip() is called instead.

The ext:GridCommand component has some Tooltip-* properties that doesn't seem to work either, including a Tooltip-Text one.

The Ext.grid.column.CommandColumn is an Ext.NET-specific component, so the error is not bound to Sencha Ext JS although it probably was introduced by breaking changes in the latter.

fabriciomurta avatar Jan 13 '21 15:01 fabriciomurta