title: How to use array column name inside of object from json return in datatable ajax?
body: <p>i try to figure how to write column name of data if the data is array inside object</p>
  <p>if the json return looks like</p>
  <pre><code>&quot;data&quot; : {
              &quot;name&quot; : &quot;aaa&quot;
      }
  </code></pre>
  <p>i will use this code</p>
  <pre><code>        ajax : {
              url : url,
              type : 'GET'
          },
          &quot;scrollX&quot; : true,
          destroy : true,
          columns : [ {
              data : 'name'
          }, ]
  </code></pre>
  <p>but how about if the json return looks like</p>
  <pre><code>&quot;data&quot; : {
              &quot;detail&quot; : [
                {
                    &quot;name&quot; : &quot;abc&quot;
                }
              ]
  }
  </code></pre>
  <p>i try to write this code below but it not works, can someone help me with this issue</p>
  <pre><code> ajax : {
                  url : url,
                  type : 'GET'
              },
              &quot;scrollX&quot; : true,
              destroy : true,
      columns : [ {
                      data.detail : 'name'
                  },
          ]
  </code></pre>