title: Why my trStyle ReactBootstap datatable undefined (reading 'createdby')
body: <p><a href="https://i.stack.imgur.com/A9dlH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A9dlH.png" alt="enter image description here" /></a></p>
  <p>i want change my background color with condition in BootstrapTable but it always return</p>
  <p><a href="https://i.stack.imgur.com/z3M9R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z3M9R.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/iuD4G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iuD4G.png" alt="enter image description here" /></a></p>
  <p>My function</p>
  <pre><code>trStyle = (cell,row) =&gt; {
  if(row.createdby == &quot;system&quot;){
    return { backgroundColor: '#b2hf3' }
  }else{
    return { backgroundColor: '#ffffff' }
  }
  </code></pre>
  <p>My code</p>
  <pre><code>&lt;BootstrapTable data={this.state.datas}
                pagination={true}
                options={options}
                search={true}
                trStyle={ this.trStyle }
              &gt;
                &lt;TableHeaderColumn width='90' dataField='action' headerAlign='center' dataAlign='center' dataFormat={this.buttonFormatter}&gt;ACTION&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='100' dataField='isActive' headerAlign='center' dataAlign='center' dataFormat={this.statusFormatter}&gt;STATUS&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='155' isKey={true} dataField='username' headerAlign='center' dataAlign='center'&gt;USERNAME&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='160' dataField='namaLengkap' headerAlign='center' dataAlign='center'&gt;NAMA&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='120' dataField='roleName' headerAlign='center' dataAlign='center'&gt;ROLE&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='150' dataField='namaWilayah' headerAlign='center' dataAlign='center'&gt;WILAYAH&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='180' dataField='alamat' headerAlign='center' dataAlign='center'&gt;ALAMAT&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='110' dataField='noTelepon' headerAlign='center' dataAlign='center'&gt;TELEPON&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='180' dataField='email' headerAlign='center' dataAlign='center'&gt;EMAIL&lt;/TableHeaderColumn&gt;
                &lt;TableHeaderColumn width='90' dataField='createdby' headerAlign='center' dataAlign='center'&gt;CreatedBY&lt;/TableHeaderColumn&gt;
              &lt;/BootstrapTable&gt;
  </code></pre>