Jump to content

How to change the background color of a dbgrid in the unfilled area?


Alexandre Storti

Recommended Posts

I used the css below as a test, is there any css parameter for this?

.gridteste .x-grid-column {
  border-style: solid;
 border-width: 1px 1px 1;
 height: 40px;
 line-height: 30px;
 padding: 0 8px;
 vertical-align: middle;
 font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
 font-size:  12pt;
 font-weight: bold;
 text-align: left;
 background-color: #CD5C5C;
 color: white;
}
.gridteste .x-grid-cell {
 height: 39px;
 line-height: 40px !important;
 font-family: 'Arial', Arial, Helvetica, sans-serif;
 font-size:  14pt;
 color: black;
 border-collapse: collapse;
 border-style: solid;
 border-width: 1px 1px 1;
}
.gridteste .x-grid-row {background-color: #CD5C5C;}
.gridteste .x-grid-row.x-grid-item-odd {background-color:coral;}
.gridteste .x-grid-row.x-item-selected{background-color:chartreuse}

quesion.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...