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
Hi
im not watching de code now but if i remember well you can do that by puting i the colmodel this:
editoptions{edithidden:true}
Hi, that variable is not needed in version 3.5+
Hi
try rowdata.codigo
Works,
Thanks
Hi,
I found a way to do that
var lista = jQuery(”#myTable”).getDataIDs();
I also need something like that, if you find the solution please post it
Actually i was encrypting
Solved.
….
{name:'pass',index:'pass', width:100, editable: true, edittype: 'password',editrules:{required:true},searchoptions:{sopt:['bw','eq','ew']},formatter:password},
….
.navGrid('#pager2',{edit:true,add:true,del:true,search:true,refresh:true,view:false},
{
Hi,
you can post aditional data like this:
.jqGrid({
….
hi,
When you load de table you can especify de id of the row like this,
$result = mysqli_query($link_identifier,$SQL) or die(“Couldn t execute query.”.mysqli_error($link_identifier));
HI.
I do it this way:
if($_POST['oper]==”add”){
//insert
}else if($_POST['oper']==”edit”){
//update
}else if ($_POST['oper']==”del”){
//delete
}
Thanks,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top