title: Primeng database numeric edition
body: <p><strong>NOTE: I'm using primeng 4.3.0</strong></p>
  
  <p>I've an <code>Array&lt;AlignedQuote&gt;</code> where <code>AlignedQuote</code> is:</p>
  
  <pre><code>interface AlignedQuote {
      hour: number;
      day: number;
      month: number;
      year: number;
  }
  </code></pre>
  
  <p>My current related html code is:</p>
  
  <pre><code>&lt;p-dataTable [value]="quotes" [editable]="true"&gt;
    &lt;p-column *ngFor="let col of cols" [field]="col.field" [header]="col.header"
      [editable]="col.editable"&gt;
    &lt;/p-column&gt;
  &lt;/p-dataTable&gt;
  </code></pre>
  
  <p>Where my <code>cols</code> is:</p>
  
  <pre><code>this.cols = [
    { field: "hour",  header: 'Hora', editable: true  },
    { field: "day",   header: 'Día',  editable: true  },
    { field: "month", header: 'Mes',  editable: true  },
    { field: "year",  header: 'Any',  editable: true  }
  ];
  </code></pre>
  
  <p>The problem is that I'm able to type string values on each cell editor, and I need to only able to type number values:</p>
  
  <p><a href="https://i.stack.imgur.com/NLco3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NLco3.png" alt="enter image description here"></a></p>
  
  <p>Is it able to constraint it?</p>
  
  <p>It would be nice to wrap each cell edition using an specific numeric cell editor.</p>
  
  <p><strong>NOTE: I'm using primeng 4.3.0</strong></p>