Hi, i have a problem with the grid,
we need hide command with a condition and block to edition cell with same condition.
my cod of command
function change
how hide and block for edition cell when concepto == 'Total'
Help me please!
we need hide command with a condition and block to edition cell with same condition.
my cod of command
{ command: {text: "Guardar", click: change }, title: "Guardar"}
function change
function change(){
var concepto = "";
var saldo = "";
var venta = "";
var oper = "";
var prepago = "";
var castigo = "";
var utilidad = "";
var grid = this;
grid.select().each(function(){
var dtim = grid.dataItem($(this));
concepto += ""+dtim.concepto;
saldo += ""+dtim.saldo;
venta += ""+dtim.venta;
oper += ""+dtim.oper;
prepago += ""+dtim.prepago;
castigo += ""+dtim.castigo;
utilidad += ""+dtim.utilidad;
});
}
Help me please!