Here you have an example, I'm reproducing the issue with that code. If you need somthing tell me.
Thanks.
<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<!--jQuery dependencies-->
<link href="css/south-street/jquery-ui-1.10.4.custom.css" rel="stylesheet">
<script src="js/jquery-1.10.2.js"></script>
<script src="js/jquery-ui-1.10.4.custom.js"></script>
<!--PQ Grid files-->
<link rel="stylesheet" href="pqgrid.min.css" />
<script src="pqgrid.min.js"></script>
<script src="js/jquery.vbuton.js"></script>
<!--PQ Grid Office theme-->
<script src="js/jquery.ui.touch-punch.js"></script>
</head>
<body>
<div id="grid_table1"></div>
<table class="StockTable" id="StockTable">
<tbody><tr valign="middle" id="header">
<th class="lineNum">lineNum</th>
<th class="familia">Familia</th>
<th class="variedad">Variedad</th>
</tr><tr id="Tr1" class="rowcolor1"><td class="lineNum">5</td>
<td class="familia">CEREZA</td><td class="variedad">EARLY BIGI</td>
</tr><tr id="Tr1" class="rowcolor1"><td class="lineNum">6</td><td class="familia">CEREZA</td>
<td class="variedad">EARLY BIGI</td></tr><tr id="Tr1" class="rowcolor1"><td class="lineNum">7</td>
<td class="familia">MANZANA</td><td class="variedad">CRIPPS PINK</td>
</tr><tr id="Tr1" class="rowcolor1"><td class="lineNum">8</td><td class="familia">MANZANA</td>
<td class="variedad">CRIPPS PINK</td></tr><tr id="Tr1" class="rowcolor1"><td class="lineNum">9</td>
<td class="familia">MANZANA</td><td class="variedad">CRIPPS PINK</td></tr><tr id="Tr1" class="rowcolor1">
<td class="lineNum">10</td><td class="familia">ALBARICOQUE</td><td class="variedad">2084-14</td>
</tr><!-- repeating rows end -->
</tbody></table>
<script>
$(function () { //Stock1
var tbl = $("table.StockTable");
var obj = $.paramquery.tableToArray(tbl);
var newObj = { width: 500,
height:500,
title:"Stock",
resizable:true,
draggable:true,
groupModel:{
dataIndx: [1],
collapsed: [ false],
title: ["<b style='font-weight:bold;'>{0} ({1} palets)</b>"],
dir: ["up"]
//,icon: ["circle-plus", "circle-triangle", "triangle"]
},
filterModel: { on: true, mode: 'AND', header: true, type: 'local' },
editModel: { clicksToEdit: 0, saveKey: 13 },
scrollModel:{theme:true},
selectionModel: { type: 'cell', mode: 'block'},
hoverMode:'cell',
numberCell:{resizable:true,title:"#",width:30,minWidth:30},
//selectionModel:{type: 'cell',mode:'block'},
};
newObj.colModel = [{ title: "lineNum", hidden: true, dataType: "integer"},
{ title: "Variedad", width: 250, dataType: "string", resizable:true, filter: { type: 'textbox', condition: 'contain', listeners: ['keyup'] },
render:function( ui ){
//console.log(ui.rowData[14]);
if (ui.rowData[14]=='1'){
$grid.pqGrid( "addClass", {rowIndx: ui.rowData.rowIndx, cls: 'glow'} );
}
return ui.rowData[ui.dataIndx];
}},
{ title: "Familia", dataType: "string"},
];
//$("#grid_table1").pqGrid(newObj);
console.log(obj.data);
newObj.dataModel = { location: "local",
sorting: "local",
sortDir: "up",
data: obj.data
};
newObj.changeTable = function (data){
console.log(this);
}
var $grid = $("#grid_table1").pqGrid(newObj);
$grid.pqGrid("filter", { oper: 'add', data: [] })
.pqGrid("refresh");
});
</script>
</body>
</html>