When I add the option pager it throws and exception: Syntax error, unrecognized expression: #
If i remove the pager the error doesn't appear anymore.
Anybody knows what's happening?
Here s my code:
var jqGrid = $(“table.jqVejaGrid”);
var jqPager = $(“div.jqVejaPager”);
try {
jqGrid.jqGrid({
url: '/Aprove/Util/Services/listarPostagens.aspx',
datatype: “json”,
postData: {
atividadeId: atividadeId,
status: status
},
colNames: obterColNames(canalId, status),
colModel: obterColModel(canalId, status),
rowNum: 20,
rowList: [5, 10, 20, 30, 50, 100],
pager: jqPager,
multiselect: true,
height: “auto”,
//viewrecords: true,
jsonReader: {
repeatitems: false,
id: “cell.Id”
},
gridComplete: function() {
$(“select#ctl00_ContentPlaceHolder1_cmbAtividades”).unbind(“change”).bind(“change”,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top