title: jqgrid edited cellurl with javascript
body: <p>I am using struts2-jqgrid and javascript. when jqgrid load completed this get <code>&lt;s:url var="updateurl" action="pagosActualizar"/&gt;</code> and the jqgrid generate in view source html <code>options_gridtable.cellurl = "/Cuenta_Corriente_LBS/pagosActualizar.action";</code>, now the problem i have a var in javascript and want add a paramater to this url for example: <code>options_gridtable.cellurl = "/Cuenta_Corriente_LBS/pagosActualizar.action?cod=1";</code>. Any form of editad this line with javascript?</p>
  
  <p>//JAVASCRIPT</p>
  
  <pre><code>$.subscribe('rowsel', function(event) {
  var id = event.originalEvent.rowid;// this is the parameter for the url
  var data = jQuery("#gridtable").jqGrid('getRowData',id);
  var estado = data['estado.descripcion'];
  var cod = data['correlativo'];      
  if(estado === 'PENDIENTE'){
      jQuery("#gridtable").jqGrid('setColProp', 'fecha_acuerdo', {editable:true});
              // here cod for edited url in jqgrid
       }
     }
  </code></pre>
  
  <p>//MYJSP</p>
  
  <pre><code>&lt;s:url var="remoteurl" action="jsontableModificar"&gt;&lt;s:param name="codigo"&gt;&lt;s:property value="cuentacorriente.idcuentacorriente"/&gt;&lt;/s:param&gt;&lt;/s:url&gt;
  &lt;s:url var="updateurl" action="pagosActualizar"/&gt;
  &lt;sjg:grid
      id="gridtable"
      caption="Plan de Pagos Modificar"
      dataType="json"
      href="%{remoteurl}"
      pager="false"
      gridModel="gridModel"                    
      autowidth="true"
      sortable="true"
      gridview="true"   
      cellEdit="true"  
      cellurl="%{updateurl}"
      onCellSelectTopics="rowsel"                             
  &gt;
  </code></pre>
  
  <p>//VIEW SOURCE HTML</p>
  
  <pre><code>options_gridtable.datatype = "json";
  options_gridtable.url = "/Cuenta_Corriente_LBS/jsontableModificar.action?codigo=12";
  options_gridtable.cellurl = "/Cuenta_Corriente_LBS/pagosActualizar.action";
  options_gridtable.height = 'auto';
  options_gridtable.pgbuttons = true;
  options_gridtable.pginput = true;
  options_gridtable.gridview = true;
  options_gridtable.autowidth = true;
  options_gridtable.caption = "Plan de Pagos Modificar";
  options_gridtable.autoencode = true;
  options_gridtable.cellEdit = true;
  options_gridtable.oncellselecttopics = "rowsel";
  </code></pre>
  
  <p>Well the flow is he user click in cell of jqgrid, later trigger a event that get the rowid and validated the field to be edited, the problem is that when edited the cell is use the cellurl but only send the content cell to edited and not the rowid that need for update the register, i need the two the rowid and cell content.</p>