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
2515
Removing all padding from igGrid cell
posted

I need to be able to fill a particular column of an igGrid with a specific background color and have no padding. I don't want to affect any other columns.

In the dataRendered event I have tried the following (plus many more), but I still have padding around my cell content. How do I remove all padding?

ui.owner.element.find("tr td:nth-child(2)").css("padding", 0);

ui.owner.element.find("tr td:nth-child(2)").css("background-color", "red");

Parents Reply Children
No Data