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!
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
Thanks for your help,
I tried your suggestion but the items in the drop down list are still centered. I got it to work with a regular webdropdown but this is a dropdownprovider within a webdatagrid.