Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    prompt for LinkItem is not showing

    SmartClient Version: v10.0p_2015-12-03/LGPL Deployment (built 2015-12-03)

    I have ListGrid with fields. One of them I declared as:

    {name: 't', title: ' ', width: 20, type: 'link', align: 'center', prompt: 'Homepage', hoverWidth: 65, linkText: '<i class="link" style="cursor: pointer;color: #000;"/>', canHide: false, canFilter: false, canSort: false},

    but no tooltip is shown on hover. Is this desired behavior ? If so, then documentation should be corrected, as it currrently says for LinkItem's prompt (inherited from FormItem):

    This text is shown as a tooltip prompt when the cursor hovers over this item.



    #2
    A ListGrid with a field of type "link" does not actually create or show a LinkItem in its cells.
    (Unless we're talking about grid editing which doesn't seem to be the case here).

    Instead you're dealing with standard ListGrid / ListGridField APIs. You can use hoverHTML to get the effect you want, as in this example.

    Regards
    Isomorphic Software

    Comment


      #3
      hoverHTML works as expected.

      Thank you for detailed explanation.

      Comment

      Working...
      X