Skip to main content

Search

Drop down width

Comments

2 comments

  • Andreas_Meier

    Hy Senad

     

    The Problem on your solution is that the css is added to the lookup element just after loading the page. As soon this LookupControl is setted it loads newly and the css tag is removed.

     

    Therefore you just need to add css to the head in the Load Actions. This css will not be removed on an control change.

     

    E.g.

    jQuery('head').append('<style>select[title="MyFieldTitle1"], select[title="MyFieldTitle2"] {width: 900px}</style>');

     

    Kind Regards

    Andreas Meier

    0
  • Senad

    It solved my problem, thank you!

    0

Please sign in to leave a comment.