title: KendoUI - grid - template not getting data
body: <p>I have problem with KenfoUI grid. From server side I'm sending JSON data:</p>
  
  <pre><code>{
  "data": [{
      "process": {
          "id": "myProcess2:1:1206",
              "description": null,
              "name": "My process 2",
              "version": 1
      },
          "id": 42066,
          "description": "unisono-rest-evenem",
          "type": {
          "id": 2,
              "translation": "Faktura sprzedażowa",
              "name": "salesInvoice"
      },
          "triger": {
          "id": 42048,
              "name": "Document recognized trigger",
              "code": "ocrEndTrigger",
              "type": "DOCUMENT_RECOGNIZED"
      }
  }, {
      "process": {
          "id": "myProcess2:1:1206",
              "description": null,
              "name": "My process 2",
              "version": 1
      },
          "id": 42067,
          "description": "6756757",
          "type": {
          "id": 5,
              "translation": "Słownik stawek VAT",
              "name": "dictVatRates"
      },
          "triger": {
          "id": 42048,
              "name": "Document recognized trigger",
              "code": "ocrEndTrigger",
              "type": "DOCUMENT_RECOGNIZED"
      }
  }, {
      "process": {
          "id": "myProcess2:1:1206",
              "description": null,
              "name": "My process 2",
              "version": 1
      },
          "id": 42068,
          "description": "56546546",
          "type": {
          "id": 1,
              "translation": "Faktura",
              "name": "invoice"
      },
          "triger": {
          "id": 42047,
              "name": "New document trigger",
              "code": "createDocument",
              "type": "CREATE_DOCUMENT"
      }
  }, {
      "process": {
          "id": "myProcess2:1:1206",
              "description": null,
              "name": "My process 2",
              "version": 1
      },
          "id": 42069,
          "description": "swswsws",
          "type": {
          "id": 5,
              "translation": "Słownik stawek VAT",
              "name": "dictVatRates"
      },
          "triger": {
          "id": 42047,
              "name": "New document trigger",
              "code": "createDocument",
              "type": "CREATE_DOCUMENT"
      }
  }],
      "total": 4
  }
  </code></pre>
  
  <p>and I defined columns in gird like:</p>
  
  <pre><code>    columns: [{
      field: "process",
      title: "Nazwa procesu",
      editor: staticEditors.processEditor,
          "template": function (data) {
          if (data.process != null &amp;&amp; data.process != undefined) {
              return "&lt;span class='gridText' title='" + data.process.name + "'&gt;" + data.process.name + "&lt;/span&gt;"
          } else {
              return "&lt;span&gt;&lt;/span&gt;"
          }
      }
  }, {
      field: "type",
      title: "Typ dokumentu",
      editor: $scope.typeEditor,
          "template": function (data) {
          if (data.type != null &amp;&amp; data.type != undefined) {
              return "&lt;span class='gridText' title='" + data.type.translation + "'&gt;" + data.type.translation + "&lt;/span&gt;"
          } else {
              return "&lt;span&gt;&lt;/span&gt;"
          }
      }
  }, {
      field: "triger",
      title: "Wyzwalacz",
      editor: staticEditors.triggerEditor,
          "template": function (data) {
          if (data.triger != null &amp;&amp; data.triger != undefined) {
              return "&lt;span class='gridText' title='" + data.triger.name + "'&gt;" + data.triger.name + "&lt;/span&gt;"
          } else {
              return "&lt;span&gt;&lt;/span&gt;"
          }
      }
  }, {
      field: "description",
      title: "Description",
          "template": function (data) {
          if (data.description != null &amp;&amp; data.description != undefined) {
              return "&lt;span class='gridText' title='" + data.description + "'&gt;" + data.description + "&lt;/span&gt;"
          } else {
              return "&lt;span&gt;&lt;/span&gt;"
          }
      }
  }
  </code></pre>
  
  <p>There is a problem in template function because data object doesn't have all data. I noticed that has problem with nested data (field like type, trigger, process has null or string ("[object Object]") values.)</p>
  
  <p>How can I solve this problem ?</p>