Style Grid Cell Background

Hi,

I have been using column templates to build custom grid cells and style the content within a grid cell. I now need to be able to style the parent of the template in order to set the cell background color. Is this possible?

Thanks,
James

Hi James,

you can remove left and right padding:

.dhx_grid_row .dhx_cell, .dhx_grid_row_selected .dhx_cell {
padding: 0;
}

In this case, the background will cover the whole cell. For padding you can place a div with padding in template.