• Add a scrollbar if the list is too long...

    By Daniel A Soares 1 decade ago

    First off, thank you for sharing this control. I have successfully used it in an internal application that called for a multi-select combobox. 

    I did find though that if the list is too long (see attached image), it would be helpful to have a scrollbar to navigate it. Would that be possible? Or perhaps a configurable way to display the choices in more than one column so that the list can easily be navigated.

    Thanks,

    Dan

    • possible solution

      By Mariusz Jakubowski 1 decade ago

      Hi,

      sorry for long response time.

      I've uploaded a new version with following css:

      .dijitSelectMenu.dijitSelectCheckbox  {
          overflow-y: auto !important;
      }
       

      You can add a new rule in your css that will constrain height of menu to a specified size, e.g.

      .dijitSelectMenu.dijitSelectCheckbox  {
          max-height: 100px;
      }

      Best Regards,

      Mariusz

      • Thank you

        By Daniel A Soares 1 decade ago

        THis works beautifully now.