title: Creating a Data Grid using EASYUI with Json where data type Boolean
body: <p>How can I show both of my boolean field at a time in Data Grid ? 
  Example: I wanna show <strong>"True"</strong> and <strong>"False"</strong> in the 1st and 2nd row of the Grid? but Grid will be loaded by JSON.</p>
  
  <pre><code>&lt;table id="tblDirection"&gt; 
     &lt;thead&gt; 
       &lt;tr&gt; 
          &lt;th field="ck" checkbox="true"&gt;&lt;/th&gt; 
          &lt;th field="name" width="120"&gt;Direction&lt;/th&gt; 
        &lt;/tr&gt; 
      &lt;/thead&gt; 
  &lt;/table&gt; 
  </code></pre>
  
  <p>Here is javascript code:</p>
  
  <pre><code>function RefreshDirection() { 
       $('#tblDirection').empty(); 
       data = [{ id: 0, name: 'Uni Directional' 
  }, { id: 1, name: 'Bi Directional'}]; 
  data = { "total": "" + data.length + "", "rows": data }; 
  $('#tblDirection').datagrid('loadData', data); } 
  </code></pre>
  
  <p>but I wanna make this dynamically. </p>