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
430
How to right align content of a iggrid
posted

http://jsfiddle.net/rxb3xmjt/11/

In the above example,Currently values of Quantity is aligned to left in example

How can all the values of Quantity in iggrid  be aligned to right?.

Parents
No Data
Reply
  • 17590
    Offline posted

    Hello Akhi,

    Thank you for posting in our community.

    Changing text alignment of igGrid`s headers or cells can be accomplished by setting the text-align property in the css classes applied to these elements. For example:

    th.ui-iggrid-header:nth-child(3){
               text-align: right !important;
     }
     .ui-iggrid .ui-iggrid-tablebody td:nth-child(3) {
               text-align: right !important;
     }

    Your modified fiddle is available here. I changed the css classes applied to the Quantity column in order to set the text-align option to right.

    Please let me know if you need any further assistance with this matter.

Children