Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Jorge Alcalá
Added: Sep 25, 2018 9:49 PM
Views: 5
  1.     gridPedidosDocumentos.modelChanged = function(rowIndex, columnIndex, oldValue, newValue, row) {
  2.         var id1 = row.id;
  3.         var pos = id1.indexOf("_");
  4.         var id = id1.substring(pos + 1);
  5.         var columna = gridPedidosDocumentos.getColumnIndex('dias');
  6.         switch(columnIndex){
  7.             case columna:
  8.                 diasActualizar(<?php echo $claBandeja;?>, id, newValue);
  9.                 break;
  10.         }
  11.     }