title: Dojo datagrid with date and time
body: <p>Could someone here please, for the love of God!, post an example of an working dojox.grid.DataGrid using a dojox.data.JsonRestStore, with 2 columns, date and time?</p>
  
  <p>I have tried the following :</p>
  
  <pre><code>&lt;th field="startdate" cellType="dojox.grid.cells._Widget" widgetClass="dijit.form.DateTextBox" editable="true" formatter="formatDate"&gt;&lt;/code&gt;&lt;/pre&gt; and 
  &lt;th field="starttime" cellType="dojox.grid.cells._Widget" widgetClass="dijit.form.TimeTextBox" editable="true" formatter="formatDate"&gt;
  </code></pre>
  
  <p>Also : </p>
  
  <pre><code>&lt;th field="startdate" cellType="dojox.grid.cells.DateTextBox" editable="true" formatter="formatDate"&gt;&lt;/code&gt;&lt;/pre&gt; and 
  &lt;th field="starttime" cellType="dojox.grid.cells._Widget" widgetClass="dijit.form.TimeTextBox" editable="true" formatter="formatDate"&gt;
  </code></pre>
  
  <p>but nothing seems to work. It's been two days now and I've been reading tons of documentation and reports but I couldn't find a working example anywhere.</p>
  
  <p>EDIT : </p>
  
  <p>I am now facing the weirdest issue in my programmer's career : the grid is now working fine with DateTextBox and TimeTextBox (this case works in Firefox 3.6.6 and in 3.6.14pre, Internet Explorer 8 and Google Chrome.), except for the following : </p>
  
  <p>In Firefox 3.6.13, with an even number of items in the grid, when I try editing the time or date of one element the widget box appears in the top left corner, the date isn't selected properly and the browser crashes with the CPU going to 100%.</p>
  
  <p>However, if the number of items is odd the editing of date and time works just fine. I have absolutely no idea of what to do so please bounce some ideas.</p>