title: Define column type in Kendo Grid?
body: <p>How to define a type of columns:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>schema: {
    model: {
      fields: {
        "Field1": {
          type: "date"
        },
        "Field2": {
          type: "string"
        },
        "Field3": {
           type: "number"
        }
      }
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>But my problem is, I don't know how many columns I would have, and what would be their types? <br> And I get info about it here:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$.each(MyColumns, function () {
    ("" + this.field + ": { type: " + this.type + " }");
  });</code></pre>
  </div>
  </div>
  </p>
  
  <p>So how can I get all that info, and stick it <strong>schema.model.fields</strong>??</p>