问题描述:

Here, I have a question about pqgrid.

var newObj = {

width: 1500,

height: 600,

title: "channel <b>roi</b>",

resizable: true,

scrollModel: { autoFit: true },

editModel: { clicksToEdit: 2 },

dataModel: { data: obj.data },

draggable:false,

freezeCols:7,

selectionModel: { type: 'cell', mode: 'block' },

colModel: CM,

pageModel: {type:'local'},

toolbar: {

cls: 'pq-toolbar-export',

items: [{

type: 'button',

label: "Export to Excel",

icon: 'ui-icon-document',

listeners: [{

"click": function (evt) {

$("#grid_export").pqGrid("exportExcel", { url: getDownExcelURL(), sheetName: "pqGrid sheet" });

}

}]

}]

},

};

That is the my option in pqgrid. I do not konw what error happend.

please help me.

相关阅读:
Top