Announcement

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

    Hover on SelectItem

    Version: SmartClient Version: v8.3p_2013-06-19/PowerEdition Deployment (built 2013-06-19)

    I see that in v4.0, SelectItems have a default behaviour of putting "..." at the end when they are too long to fit. They also provide a hover with the full value in these cases.

    Is there a way to achieve this in v3.1? We are running into this all over the place when running in other languages. Some kind of generic way would be preferred since we have about 400 instances of SelectItem in our app.

    Thanks!

    Matt

    #2
    No, sorry, it was actually extremely complicated to add this feature (had to work around a plethora of browser bugs). There is no possibility of backporting it, and no simple solution to do this in 3.1 (not even a complicated solution really).

    Comment


      #3
      Support for this (in various places, not just FormItems) was one of the features we introduced for 4.0 and unfortunately involves too much work to backport to 3.1

      There is support for showing hover prompts on FormItems in 3.1, so could have logic to always show a hover with the item value in your app, but there isn't a straightforward way to determine whether clipping of the value occurred and conditionally show the hover in this case without deep, unsupported hacks.
      Similarly - the ellipsis is being produced by a native browser setting (the css "text-overflow:ellipsis;" setting). You can set this flag in the css style applied to the component / item in question -- for example the "selectItemText" css style - but we can't guarantee this will work for you in all cases.

      Regards
      Isomorphic Software

      Comment


        #4
        OK, thanks for the quick reply.

        Comment

        Working...
        X