Announcement

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

    PickList and PickListMenu Over styles

    Is it possible to make the PickList and PickListMenu components use Over styles instead of SelectedOver styles as they do now?
    Last edited by Hirn; 10 Apr 2026, 03:35.

    #2
    It's not clear if you want this for one PickList or in general, but the styles themselves are editable, and you can provide a totally different style series by changing the baseStyle (the PickList is just a ListGrid).

    Comment


      #3
      I'm not talking about changing or customizing styles — that part works fine.

      The issue is that on hover, the HTML elements get the class="pickListCellSelectedOver" instead of pickListCellOver.

      Comment


        #4
        Those are names of CSS styles, so as explained above, you can customize the CSS definitions, or you can configure a different style series.

        That should be a complete set of options for changing the appearance here, so we're not sure what else you are hoping to get.

        Comment


          #5
          The problem is not that I’m defining the styles incorrectly.

          I have two different states defined:
          • pickListCellOver — which should be applied when hovering over a row in the SelectItem dropdown
          • pickListCellSelectedOver — which should be used when hovering over an already selected row

          However, even on a simple hover over a non-selected row, the component still applies pickListCellSelectedOver.

          I looked into the ISC_Forms source code and found two undocumented properties of isc.PickList: showOverAsSelected and enableSelectOnRowOver. If I set both of them to false, the behavior works exactly as expected.

          The issue is that these properties are undocumented, so I’m using them at my own risk.

          Comment


            #6
            So just to reiterate - you can change the definition of pickListCellSelectedOver. So you have complete control here - it does not matter at all what name is used. It is completely pointless to use internal properties for this - totally unnecessary.

            Comment

            Working...
            X