AnsweredAssumed Answered

Updating DataGrid store

Question asked by GibbyAR on Jan 29, 2015
Latest reply on Feb 2, 2015 by joshhevenor

Given the following DataGrid:


<table data-dojo-type="dojox/grid/DataGrid" jsid="grid" id="grid" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'" style="height:250px; width:100%">



              <th field="ID">SEGID</th>

              <th field="BRANCH">Street</th>

              <th field="LANES">Lanes</th>

           <th field="CURB">Curb</th>

   <th field="SIDEWALK">Sidewalk</th>

   <th field="ALLIGATOR_CRACKS">Alligator</th>

   <th field="RAVELING">Raveling</th>

   <th field="SHOVING">Shoving</th>

   <th field="POT_HOLES">Pot Holes</th>

   <th field="EX_ASHPHALT">Ex Ashp</th>

   <th field="POLISHED">Polished</th>

   <th field="DRAINAGE">Drainage</th>

   <th field="RUTTING">Rutting</th>

   <th field="RIDE">Ride</th>

   <th field="RATING">Rating</th>  

   <th field="CIP">CIP</th>





Is it possible to update the existing store for the DataGrid to account for "CIP" and a value for "CIP"? In other words, the field object for CIP and value for CIP does not exist in the store and would be added eventually by user input. Hope that makes sense.