javascript - how to change font color of one column in grid -


i've inherited javascript code (yii framework), uses js.reconfigure, displays data in grid. user has requested font (only) 1 of column headers displayed in bold, red. how change that?

the line of code is:

{dataindex: 'test_status', text: 'testing status', flex: 1, renderer: function (val, meta, record)  .. ..} 

#t1 {    /* uncomment if don't white lines between cells */    /*border-collapse: collapse;*/  }  #t1 td:first-child {    background-color: red;  }
<table id="t1">    <tr><td>cell 1</td><td>cell 2</td><td>cell 3</td></tr>    <tr><td>cell 4</td><td>cell 5</td><td>cell 6</td></tr>    <tr><td>cell 7</td><td>cell 8</td><td>cell 9</td></tr>  </table>


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -