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
45
igGrid Cell padding style
posted

Hello,

I'm facing trouble fix the padding into grid's cells and row selection padding.

What css classes i need to overwrite?

Regards,

Parents
  • 24671
    Verified Answer
    posted

    hey Anton,

    this is the CSS rule in css/structure/modules/infragistics.ui.grid.css which sets the default padding for cells:

    .ui-iggrid table tbody td, .ui-iggrid .ui-iggrid-header, .ui-iggrid table th {
        padding4px;
    }
     
    If you're using the combined / minified CSS, you can still override this in your page's CSS. If you need to change padding for selected rows, you can do so by setting:
     
    .ui-iggrid table tbody td.ui-iggrid-selectedcell {
        padding: <some value>px;
    }
     
    Hope it helps. Thanks,
    Angel
     
     
     
Reply Children