Change background color of entire row

0
0

Is there a way to set the background color for an entire row?  I have only been able to set the background color of individual cells, but it does not look correct due to padding in the cells (see attached image).

Some rows in my DataGridView are actually dividing sections, and are not select-able rows.  I am looking for a way to make these rows appear as a continuous solid bars, in a different color (Navy in attached image) than the default row background colors.

Attachment
  • You must to post comments
0
0

I was using a custom WiseJ theme.  The problem was that we set the padding directly on the Table Cell component.  To fix, I had to create a “Content” component within the Table Cell and set padding on the “Content” instead.

  • You must to post comments
0
0

Hi Max,

we could not reproduce the padding problem. Are you using a standard Wisej theme ? If yes, can you please make sure to use the latest version ?

In the next Wisej release we also add an enhancement to color the right filler when using row.DefaultCellStyle.
I´ll inform you when it´s available.

Best regards
Frank

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.