Home › Forums › Guriddo jqGrid JS › Help › using datatype local
If you use dataType:”local” what parameter do you use to pass the “local” data to the grid?
Hi,
i do it this way:
jQuery(“#tDatos”).addRowData(0,{dato:”Cantidad de prendas”,pesos:” “});jQuery(“#tDatos”).addRowData(1,{dato:”Costo de prendas”,pesos:” $ “});jQuery(“#tDatos”).addRowData(2,{dato:”Precio de venta”,pesos:” $ “});jQuery(“#tDatos”).addRowData(3,{dato:”Diferencia”,pesos:” $ “});
tDatos is the table, dato and pesos a are columns and the first number is the row position
Thanks. I was getting an unrelated error that led me to believe I needed to pass data to the grid on instantiation. I resolved that bug and add/remove rows is working fine.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS