Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
dropdownprovider
posted

Infragistics 10.2 .NET 3.5

I'm using a dropdown provider for a column within a webdatagrid.  When I expand the drop down list all the item are center aligned.  How do I modify the alignment to be left justified??

Thanks for your help!

Parents
No Data
Reply
  • 19693
    posted

    Hello rcline,

     

    A possible solution is to override the default CSS class in the page 

    where you are using the WebDropDown provider : 

    <style type="text/css">

            .igdd_DropDownList

            {

                background-color: White;

                font-size: 10pt;

                font-family: Verdana, Arial, Helvetica, sans-serif;

                margin: 0px;

                padding: 1px;

                text-align: right;

            }

        </style>

     

    Another way to do this is using selectors in our css classes, so they take preference, but it will be much harder to achieve it.

     

    Below there is forum post regarding right alignment of a column for example:

     

    http://forums.infragistics.com/forums/t/37511.aspx

     

    Let me know if you need further questions

Children