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
1139
Align text in columns
posted

I'm trying to align check boxes centered in the cell, and Dollars right aligned.

 <ig:BoundDataField DataFieldName="PaymentAmount" Key="PaymentAmount" Width="125px" DataFormatString="{0:$ #,##0.00}" CssClass="AlignRight">
         <Header Text="Amount" />
</ig:BoundDataField>

 

This looks like the example, but I'm missing something, any ideas?

 

Chuck

Parents
No Data
Reply
  • 29417
    Verified Answer
    Offline posted

    Hello csnyder_ptb,

     

    Thank you for posting in our forum.

     

    Please make sure that the setting you set in the custom class for the column -AlignRight are not getting overwritten by the default css classes.

    You can do that by  setting the !important tag after the setting. For example:

     

      .AlignRight

            {

                text-align: right !important;

            }

     

     

    I’m attaching a sample with the behavior you’ve described. Let me know if you have any further questions or concerns regarding this issue.

     

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support

     

    AlignTxtInCol.zip
Children